Why do Python Sop nodes recook after saving the scene?

   344   3   3
User Avatar
Member
94 posts
Joined: Nov. 2017
Offline
This is really something. I usually work with scenes loading geo via python sops. Heavy geometry. Loading takes several minutes. So, after each auto save I need to wait this time over and over again, since the python sops seem to recook.

Why is that? Does some kind of cache gets deleted? Can't think of any reason. And in terms of workflow this costs a lot of time and nerves.

Can I disable this behavior? After all, nothing changed in terms of the geo.


Cheers
Tom
User Avatar
Member
143 posts
Joined: May 2017
Offline
While loading the geo data, you can globally disable auto cooking [www.sidefx.com]. I haven't found anything relating to a single node at the moment.
User Avatar
Member
94 posts
Joined: Nov. 2017
Offline
Thanks! That works nicely when altering the node trees, like copying stuff from a to b, but as soon as you need to alter camera perspectives or need to work on the geo and auto-save kicks in, you need to deal with the reload times. Need to check if "on mouse up" will make a difference.

Thanks for the hint.
User Avatar
Member
7722 posts
Joined: July 2005
Offline
I did a quick simple test and my Python SOP did not recook on save. It's probably something else. One known issue is if your Python SOP was never cooked to begin with and there's some menu script parameter that references data from it. Then saving in this case will cause the menu parameter to evaluate, which can cause uncooked nodes to cook.
  • Quick Links