ID 554182 - node.setName() is not undoable

Follow

Problem summary
node.setName() is not undoable
 
Customer reported version
mari.6.0v2
 
Customer reported platform
n/a 
 
Steps to reproduce
 
1) Launch Mari and open the example project.

2) Go to the Python console and run the following:

nodeGraph = mari.geo.current().nodeGraph() node = nodeGraph.createNode("Misc/Group") print(node.name()) mari.history.startMacro('Rename') node.setName("NewName") mari.history.stopMacro()

3) Go to the Node Graph and press Undo. Notice that in the History palette the rename command gets called but the nodes name does not get reverted.
 
Expected behaviour
The Undo command should revert the Nodes name.
 
Actual behaviour
The Undo command does not revert the Nodes name.
 
Workaround
Unknown. 
 
Reproduced by support
This bug has been reproduced in:
Mari 6.0v2 - Windows 11, CentOS 7
Mari 6.0v1 - Windows 11
Mari 4.2v1 - Windows 11, CentOS 7
 
Earliest version tested
Mari 4.2v1 - This issue appears to be in all tested versions of the product.
 

    We're sorry to hear that

    Please tell us why