Hey all, I am trying to walk through all my nodes and save a "snapshot" so to speak, something that I can store and then later go back and check again, and compare to see if the node has been modified by the user.
My original thought on this was to store the opHashes of the node, but I'm running into severe problems with this method. For one, the hashes sometimes appear as though they don't even update at all unless you close and re-open the properties panel. Secondly, it appears that changing a node upstream will cause a node downstream to change its hash. This makes sense of course, but it results in me recording that the wrong node was changed. Maybe I can walk through and disconnect everything temporarily when saving the state, but that might open another can of worms. Tl;dr I need to snapshot the state of the script in some efficient manner that allows me to then compare with a second snapshot later on and determine what nodes have been changed. John Vanderbeck Technical Artist Digital Domain Media Group NOTICE: This communication may contain privileged or other confidential information. If you have received it in error, please advise the sender by reply email and immediately delete the message and any attachments without copying or disclosing the contents. Thank you.
_______________________________________________ Nuke-python mailing list [email protected], http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
