ID 235310 - *previewColor* parameter of LightCreate nodes has no effect, as *geometry.previewColor* attribute on light locations is ignored

Follow

Problem summary:

LightCreate nodes provide a parameter named previewColor that is meant to allow users to set a color to use in the drawing of light geometry in the Viewer tab. Unfortunately, the value of that parameter is currently ignored in the drawing of light geometry.

The value of the previewColor parameter is set by a LightCreate node in the geometry.previewColor attribute on the created light location. That attribute is meant to be used in the drawing of the light's geometric representation, but currently isn't.

Steps to reproduce:

  1. In the Node Graph tab, create a LightCreate node and set its edit flag.
  2. In the Parameters tab, set the previewColor of the light to some color, for example some kind of blue.
  3. In the Scene Graph tab, expand the entire scene graph.
  4. In the Viewer tab, check the drawing of the light's geometric representation (in the shape of an asterisk).

Expected behaviour:

The light's geometric representation is drawn in the chosen color.

(When the light is selected, the geometric representation is drawn in white.)

Screenshot of KATANA's Viewer tab, showing two lights drawn with custom colors controlled through previewColor attribute

Actual behaviour:

The light's geometric representation is wrongly drawn in yellow.

(When the light is selected, the geometric representation is correctly drawn in white.)

Workaround:

No known workaround.

Reproduced versions/platforms:

  • 1.1v5/Linux
  • 2.5v3/Linux

Customer version/platform:

Not supplied.

    We're sorry to hear that

    Please tell us why