Hi
I have a simple knobchanged script, basically something like...
If thisknob() == theknob:
If not input(2) and checkbox:
nuke.message('connect input')
ie if someone turns on checkbox it checks for an input and asks for one if not
connected. Works fine even if syntax above wrong (from memory).
However I'm finding that on script load, this is being evaluated, and thinks
nothing is attached, and asks to connect, even though it is connected.
I can understand there being a problem with input2 while the script is loading,
but I can't see why it should evaluate the knobchanged at this point, at least
wouldn't it be better if it wasn't? I suspect it's related to position
triggering the call back
Bug or my crappy python?
Howard_______________________________________________
Nuke-python mailing list
[email protected]
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python