Haven’t tested it in this specific case, but try setting the
KNOB_CHANGED_RECURSIVE flag on the "transform" knob, changing the value, and
then unsetting it.
-Nathan
From: Brogan Ross
Sent: Tuesday, January 31, 2012 9:46 PM
To: Nuke Python discussion
Subject: [Nuke-python] Tracker transform knob callback?
Does anyone know the callback that Tracker3.knob("transform") runs when the
knob is changed from "stabilize" to "match-move"? I've run into one of those
classic cases of: I'm changing a knob with python and it's not triggering the
knobChanged(). Basically, I'm nodeCopying a Tracker3, nodePasting it, and
changing the transform knob from stabilize to match-move, but obviously the
values aren't updating.
So, yeah does anyone know if the function for that swap is available, or am I
going to have to try and recreate it?
Thanks,
Brogan
--------------------------------------------------------------------------------
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python