ID 158957 - Undo: Python UndoDescribe always returns same string in Nuke

Follow

Problem summary
undoDescribe() function does not return node values for multiple undo operations and only returns the latest operation. 
 
Customer reported version
Nuke 11.0v2
 
Customer reported platform
Windows
 
Steps to reproduce
 
1) Launch Nuke
 
2) Create a Blur node and alter 'Mix Value'
 
4) Create Checkerboard node
 
5) connect Blur to Checkerboard
 
6) Look through Blur node
 
7) Alter the value of the 'Line Width' in the Checkerboard node
 
8) In the script editor run the following code:
 

u = nuke.Undo()for n in xrange(u.undoSize()):print u.undoDescribe(n)
 
Result: You will see the callback in the script editor shows only the last changed value (change Checkerboard1.linewidth) at a reiteration of as many undo's you have created. It should show all the undo's and the node values associated with that operation.
 
Workaround
Unknown.
 
Reproduced by support
This problem has been reproduced on:

Nuke 11.0v2 - Windows 7 - MacOSX 10.12 - CentOS 6.9
Nuke 10.5v5 - Windows 7 
Nuke 10.5v1 - Windows 7 - MacOSX 10.12 - CentOS 6.9
Nuke 10.0v6 - Windows 7
Nuke 10.0v1 - Windows 7
Nuke 9.0v9 - Windows 7
Nuke 9.0v1 - Windows 7
Nuke 8.0v7 - Windows 7 - MacOSX 10.12 - CentOS 6.9
 
This was not reproduced on:
Nuke 8.0v7 - Windows 7 (worked correctly)
 
Earliest version tested
Tested back to Nuke 8.0v7 where it worked correctly.
 
Expected behaviour
The undoDescribe() function should call back the description of all the previous node values when called.
 
Actual behaviour
The undoDescribe() function calls back only the last node values at the reiteration value of as many undo's as you have created

    We're sorry to hear that

    Please tell us why