hi everybody,
i just noticed a strange behaviour with the inputChange knob only
being called when the node is inpanel.
is this the expected behaviour? is there any way to check for input
changes if the node's panel isn't open?
here's a quick example script to test with, try setting the inputs
with and without the panel open
txt = '''def updateTest():
if nuke.thisKnob().name() in ( 'inputChange' ):
print 'connected to: %s' % ' '.join([x.name() for x in
nuke.thisNode().dependencies()])
updateTest()
'''
noop = nuke.createNode('NoOp', '', False)
noop['knobChanged'].setValue(txt)
thanks,
josh
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python