You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Realized that Nuke calls knob_changed() and then, Op::append() and the shared Data values were being used causing inconsistent Hash computation. Now the append() function uses refreshed information based on knob values.
- Prevent doing any computation on the knob_changed while the script is being loaded, and forces it at the end with the call to validate().
- Realized that the existence of a "root" knob prevents the file knob to have a TCL expressions such as [file dirname [value root.name] ]. So, renamed the knob to "sceneRoot". This causes warnings while loading previous Nuke scripts, but all the other knobs are loaded fine. The default value "/" is the only one used at IE and this change should not break scripts.
- The changes in file and root attempt to keep selection by using the method loadAllFromKnobs().
- The knob_changed callback is not necessarily called by Nuke. There's some caching mechanism that prevents that from happening. the Op::append() on the other hand is reliable, so we stopped baking the selection list during knob_change and force it's recomputation in append().
- Eliminated some redundant hash values ( sceneHash and scene file for example).
- Optimized loadAllFromKnobs() in preventing two calls to filterScene.
- Using DD::Image::root_real_fps() instead of the hard coded 24fps in the computation of time.
- Using error(msg) function in getSceneInterface to show in the Viewer when geo cannot be loaded (either the file does not exist of the root is invalid).
0 commit comments