ID 268746 - Scene Graph tab custom columns no longer show integer, double, or float attributes with single values

Follow

Problem summary:

Custom columns for the Scene Graph tab can be defined in Katana's Preferences dialog, to show values of specific attributes that are identified through their name. If an attribute of a given name is present on a particular location, its value is to be shown in the respective column for that scene graph location in the Scene Graph tab, irrespective of the attribute's type. Unfortunately, with the introduction of feature enhancement TP 246939 in Katana 2.5v5, single values for attributes of the following types are no longer shown: integer, double, float

(Note that values of attributes that are defined as lists of values -- array attributes -- are shown correctly.)

Steps to reproduce:

  1. Open the Preferences dialog, select the scenegraph category, and add a custom column with default settings (using attrName as the name of the attribute whose values to show in the custom column).
  2. In the Node Graph tab:
    1. Create a CameraCreate node.
    2. Create an AttributeSet node downstream of the CameraCreate node, and set its edit flag.
  3. In the Parameters tab:
    1. Set the paths parameter of the AttributeSet node to /root.
    2. Set the attributeName parameter to attrName.
    3. Set the attributeType parameter to integer.
    4. Set the numberValue parameter to 12.34.
  4. In the Node Graph tab, copy the AttributeSet node, wire it downstream from the original AttributeSet node, and set the edit flag on the copy.
  5. In the Parameters tab
    1. Set the paths parameter to /root/world.
    2. Set the attributeType parameter to double
  6. In the Node Graph tab, copy the second AttributeSet node, wire it downstream, and set the edit flag on the copy.
  7. In the Parameters tab:
    1. Set the paths parameter to /root/world/cam.
    2. Set the attributeType parameter to double.
  8. In the Node Graph tab, copy the third AttributeSet node, wire it downstream, and set the edit flag on the copy.
  9. In the Parameters tab:
    1. Set the paths parameter to /root/world/cam/camera.
    2. Set the attributeType parameter to string.
    3. Set the stringValue parameter to Hello
  10. In the Scene Graph tab, expand all locations.

Expected behaviour:

The cells in the attrName custom column in the Scene Graph tab show the following values for the four locations in the scene graph:

  1. /root: 12
  2. /root/world: 12.34
  3. /root/world/cam: 12.34
  4. /root/world/cam/camera: Hello

Actual behaviour:

The cells in the attrName custom column in the Scene Graph tab show nothing for the /root, /root/world, and /root/world/cam locations.

For the /root/world/cam/camera location, the cell in the attrName column correctly shows Hello.

Workaround:

No known workaround.

Reproduced versions/platforms:

  • 2.5v5/Linux

Customer version/platform:

  • 2.5v5/Linux

    We're sorry to hear that

    Please tell us why