That's kind of the approach I'm taking but there are a lot of knobs and it seems kind of clunky checking a large number of knobs directly. If it was just one or two then this is the way I'd do it.

Just seen John's reply and that seems like a way I only have to check to see if the hash has changed for the selected knobs, but I will still have to hard code which of my knobs should be hashed.

Steve

Steve3D wrote:
I'm not sure you can keep _validate from being called when a knob is moved, but you certainly can remember the last value for each nob in static variables, and then simply check to see if a new value has been assigned by the knob, executing update code only when it has a new value.

Does that help?
------------------------------------------------------------------------

_______________________________________________
Nuke-dev mailing list
Nuke-dev@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev


--
Stephen Newbold
Senior Compositor - Film
MPC
127 Wardour Street
Soho, London, W1F 0NL
Main - + 44 (0) 20 7434 3100
www.moving-picture.com

_______________________________________________
Nuke-dev mailing list
Nuke-dev@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev

Reply via email to