ID 357925 - Dimming of VariableEnabledGroup nodes does not respect local Graph State Variables that are set from NodeTypeBuilder-defined nodes

Follow

Problem summary:

When the Edit > Dim Nodes Not Contributing to Viewed Nodes toggled menu item of the Node Graph tab is turned on, VariableEnabledGroups are dimmed when their targeted Graph State Variable (GSV) is not defined, or when the variable's value differs from the one specified via the node's variableValue parameter. This works fine with global GSVs as defined in a Katana project's Project Settings, and works fine with local GSVs as defined in VariableSet nodes, but the dimming doesn't work with local GSVs that are set by NodeTypeBuilder-defined nodes.

Steps to reproduce:

  1. Download the attached source of the WeakVariableSet node type (get the latest version, WeakVariableSet_NoOpBuild.py), which is defined using NodeTypeBuilder, to the .katana/Plugins/ folder in your home directory.
  2. Start Katana, and open the attached Katana project.
  3. In the Node Graph tab, make sure that the view flag is on the Render node, and that both the VariableEnabledGroup node and the WeakVariableSet node have their edit flag set, so that you can see the parameters of both in the Parameters tab.
  4. In the Node Graph tab, turn the Edit > Dim Nodes Not Contributing to Viewed Nodes toggled menu item on.
  5. In the Scene Graph tab, expand the entire scene graph, and select the /root location.
  6. In the Attributes tab, check the value of the renderSettings.resolution attribute.

Expected behaviour:

The VariableEnabledGroup node appears undimmed, as its contents are active in the Graph State context passed to the node from nodes downstream.

The renderSettings.resolution attribute at /root is set to 4K_Cinemascope.

Actual behaviour:

The VariableEnabledGroup node appears dimmed, even though its contents are active in the Graph State context passed to the node from nodes downstream.

The renderSettings.resolution attribute at /root is set to 4K_Cinemascope, which is correct, but doesn't match the dimming state of the VariableEnabledGroup node.

Workaround:

No known workaround.

Tested versions/platforms:

  • 2.0v1 - Affected
  • 3.0v3 - Affected
  • 3.0v5 - Affected

Customer version/platform:

Not supplied

    We're sorry to hear that

    Please tell us why