ID 358933 - Dimming of inactive input to VariableSwitch node in the Node Graph 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, inputs to a VariableSwitch node that are not currently selected (based on the patterns defined in the VariableSwitch node) are dimmed.

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.

Customer reported version
Katana 2.6v4

Customer reported platform
CentOS 7

Steps to reproduce

  1. Download the attached source of the WeakVariableSet node type, 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 WeakVariableSet node.
  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.
  6. Set the edit flag on the WeakVariableSet node so that you can edit its parameters in the Parameters tab.
  7. Change the variableValue parameter from input0 to input1.

Workaround
Unknown. 

Reproduced by support
Katana 3.0v1 - Windows 10

Expected behaviour

- In the scene graph, the name of the location under /root/world/cam changes from camera1 to camera2 (as defined by the CameraCreate2 node).

- In the Node Graph tab, the CameraCreate1 node becomes dimmed and CameraCreate2 undimmed.

Actual behaviour
- In the scene graph, the name of the location under /root/world/cam changes from camera1 to camera2 as expected.

- The CameraCreate2 node remains dimmed in the Node Graph tab.

    We're sorry to hear that

    Please tell us why