ID 541689 - Removing an Object Version with resized patches can freeze Mari

Follow

Problem summary
Resizing a Patch in an Object Version with more Patches while having a Multi-Channel Bake Point selected, and then removing that Object Version, causes Mari to indefinitely freeze.
 
Customer reported version
Mari 6.0v2
 
Customer reported platform
Windows 11
 
Steps to reproduce
  1. In order to reproduce this issue, you'll need two 3D models with different Patch counts. In the attached example, Version1 has 1 cube with 6 Patches, and Version2 has 2 cubes with a total of 12 Patches:



     
  2. Create a project using Version1.
     
  3. In the Objects palette, right-click the object and select Add Version to add Version2 as an Object Version.
     
  4. Make Version2 visible by using the Objects palette > [OBJECT NAME] > Geometry > Version dropdown.
     
  5. Create a Multi-Channel Bake Point node. This doesn't need to be connected to any other nodes.
     
  6. In the Node Properties of the Multi-Channel Bake Point, bake any channel using the Bake Active button. 
     
  7. Select the Multi-Channel Bake Point and view a baked Channel. Keep it selected.
     
  8. In the UV view, with the Select tool in Patch Mode, select a Patch that is shared by both Object Versions.
     
  9. Right-click the Patch and select Patches > Resize Selected, and choose any resolution except the resolution of the currently selected Channel in the Channels palette.


     
  10. In the Objects palette, right-click the object and select Remove Version to remove Version2.
 
Expected behaviour
The Object Version with more Patches should be removed without causing any issues.
 
Actual behaviour
Removing the Object Version with more Patches freezes Mari indefinitely.
Mari freezes with the progress bar indicating Scaling Halve Images - 0%. In the MariLog.txt, the last line says [UndoManager] Active Macros : - Resize Image Sets.
Once a Patch has been resized, it's only possible to delete the Object Version with more Patches by first deleting the Multi-Chanel Bake Point and any Paint nodes that got resized indirectly.
 
Workaround
Unknown. 
 
Reproduced by support
This bug has been reproduced in:
Mari 6.0v2 - Windows 10 - CentOS 7 - Regression 
 
Unable to reproduce bug in:
Mari 6.0v1 - Windows 10 - CentOS 7
 
Earliest version tested
Mari 6.0v1
- This issue doesn't appear in this version and has regressed
 

    We're sorry to hear that

    Please tell us why