Hi I am trying to lock a viewer buffer to a certain node with a callback but
it is causing my viewer node to be always selected (and makes no other node
selectable). I am stumped. In this code I am using a NoOp node called
"thisVersion". Anyone have any ideas how to get this working, or done
something similar?
Here is what I have so far:
#########################################################
def lockThisVersion():
    nuke.connectViewer(9, nuke.toNode("thisVersion"))
def callbackLockThisVersion():
    nuke.addKnobChanged(lockThisVersion,nodeClass='Viewer')
if __name__ == '__main__':
    callbackLockThisVersion()
#####################################################

Help
Pete
-- 
Pete
_______________________________________________
Nuke-python mailing list
[email protected]
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to