undo = nuke.Undo() undo.begin("Python script") <code here> undo.end()
Or you should be able to do: with nuke.Undo("Python script"): <code here> ..although it doesn't seem to use the undo-description as I'd expect On 16/05/13 22:59, Magno Borgo wrote:
Does the undo work with python scripts at all? I'm trying without success inside my script: nuke.Undo.begin("Python script") <code here> nuke.Undo.end()
-- ben dickson 2D TD | ben.dick...@rsp.com.au rising sun pictures | www.rsp.com.au _______________________________________________ Nuke-python mailing list Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python