-
Notifications
You must be signed in to change notification settings - Fork 206
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SceneAlgo::history not working on common production setups #3821
Comments
Interesting note: I happened to be on my very brute force hash cache validator branch when I was testing this, and that caused it to work. My hypothesis for the cause is something like: it hashes the upstream globals in the process of computing the enabled plug, but notes that the enabled connection doesn't count as "flowing through a scene connection", so it doesn't include this in the history. Then, it eventually gets to the upstream globals connection, and hashes the input globals in a context that would count as "flowing through a scene connection" ... but by that time, they've already been hashed, and are just pulled out of the hash cache, without continuing the history capture. |
GafferScene.SceneAlgo.history
not working on common production setups
GafferScene.SceneAlgo.history
not working on common production setups
Relates to #3875. |
Closing - this was fixed in #4568 and released in
|
Version: Gaffer 0.57.5.0-linux
Third-party tools: Appleseed
Third-party modules: None
Description
The CropWindowTool in the 2d Viewer is failing to find a plug to drive in the script below. The key issue seems to be that the
enabled
plug of one of theGlobalsProcessor
is driven by anExpression
which computes the input globals.Running a
GafferScene.SceneAlgo.history
trace (my code is included in a backdrop in the script) shows a dead-end atgui.scripts.ScriptNode1.CustomOptions.out
Note that altering the
Expression
to not read the incoming globals allows the trace to complete successfully and the CropWindowTool begins working as expected.Steps to reproduce
InteractiveAppleseedRender
Catalogue
StandardOptions
node."Debug log
Click to Expand
The text was updated successfully, but these errors were encountered: