ID 503554 - Mirror Projection breaks if a Locator is attached to the Mirror Plane

Follow

Problem summary
Mirror Projection breaks if a Locator is attached to the Mirror Plane

Customer reported version
Mari 4.7v6

Customer reported platform
n/a

Steps to reproduce

1) Open any project

2) Activate Mirror Projection

3) In the Mirror Projection settings (Painting palette > Projection Settings > Mirror Projection), click the + button next to the 'Attach To' field

4) Create a Paint node/layer, switch to the Paint tool and try painting

5) Click the P button to switch Objects to the Locator, and try transforming it

Expected behaviour
Paint should be reflected on the other side of the Mirror Plane, and transforming the Locator should move the Mirror Plane:




Actual behaviour
After creating the Locator the Object displays filled with orange (by default, this will change based on your Mirror Plane Color setting in Display Properties):



The Mirror Plane is not visible while transforming the Locator​

Workaround
To 'fix' Mirror Projection after this bug has occurred:
 
1. Delete the 'Mirror Projection' Locator that was created after clicking the + button
2. Go to the Mirror Projection settings (Painting palette > Projection Settings > Mirror Projection)
3. Click the 'Attach To' dropdown menu and select the Object you are painting on
4. Click the 'Attach To' dropdown menu again and select the empty item at the top of the list to unassign the Object
5. Retarget the Paint node that you would like to paint on
 
This should return the Mirror Projection system to a paintable state, however some additional steps are required if you would like to attach a Locator to the Mirror Plane:
 
1. Create a new Locator via the Objects palette (do not use the + button in the Mirror Projection settings)
2. Save and close your project
3. Reopen your project
4. Go to the Mirror Projection settings (Painting palette > Projection Settings > Mirror Projection)
5. Click the 'Attach To' dropdown menu and select the Locator created in step 1
6. Transforming the Locator should now transform the Mirror Plane

Reproduced by support
This bug has been reproduced in:
Mari 4.7v6 - Windows 10 - CentOS 7.9
Mari 4.7v5 - Windows 10
Mari 4.7v4 - Windows 10
Mari 4.7v3 - Windows 10 - CentOS 7.9 - regression

Unable to reproduce bug in:
Mari 4.7v2 - Windows 10 - CentOS 7.9

Earliest version tested
Mari 4.7v2 - This issue doesn't appear in this version and has regressed

 

    We're sorry to hear that

    Please tell us why