Re: [Nuke-python] Undo with python

2013-05-17 Thread Ean Carr
However this doesn't work as expected: undo = nuke.Undo() a=nuke.nodes.Blur() undo.begin("Python script") b=nuke.nodes.Grade() b.setInput(0, a) undo.end() I mailed support about this a while back and they logged it as bug 35970 -Ean On Fri, May 17, 2013 at 12:57 AM, Ben Dickson wrote:

Re: [Nuke-python] Undo with python

2013-05-16 Thread Ben Dickson
It's quite possibly a bug bug with the roto/spline undo code - the current (7.0v6) release notes mention a few bugs related to the undo for Roto/RotoPaint/SplineWarp I was testing with with something simple like the following, and it works as expected: undo = nuke.Undo() undo.begin("Python s

Re: [Nuke-python] Undo with python

2013-05-16 Thread Magno Borgo
Thank you Ben. The undo is created correctly on the Edit menu, but it doesn't work whn I try to click on it. I'm working specifically with roto/spline warp code, could be a bug perhaps. Anyone experienced this behavior before? I guess i'll hit support. undo = nuke.Undo() undo.begin("Py

Re: [Nuke-python] Undo with python

2013-05-16 Thread Ben Dickson
undo = nuke.Undo() undo.begin("Python script") undo.end() Or you should be able to do: with nuke.Undo("Python script"): ..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 w

[Nuke-python] Undo with python

2013-05-16 Thread Magno Borgo
Does the undo work with python scripts at all? I'm trying without success inside my script: nuke.Undo.begin("Python script") nuke.Undo.end() -- Magno Borgo www.boundaryvfx.com www.borgo.tv Brasil:Curitiba:GMT= -3 ___ Nuke-python mailing list Nuke-pyt