ID 277959 - Parameters with conditional visibility not shown by default

Follow

Problem summary

Parameters with conditional visibility tied to the value of a parameter with a dropdown widget are not shown by default in an ArnoldShadingNode, even when they should be visible based on the value of the dropdown parameter.

Other types of widgets do not show this issue (tested sliders and checkboxes).

 

Customer reported version

Katana 2.5v5

Customer reported platform

CentOS 7

 

Steps to reproduce

  1. Download the attached Arnold shader library including a single .args file for one of the shaders in it.

  2. Include the path to the library in the ARNOLD_PLUGIN_PATH environment variable.

  3. Launch Katana and create an ArnoldShadingNode.

  4. Set the nodeType to mayaNoise.

  5. Note that the noiseType parameter is set to ‘billow’ by default  (index 1 in the list of choices). According to the Args file, this means that several other parameters should also be visible like density, spottyness, sizeRand, but they aren’t.

  6. Change the noiseType to a different value and then back to ‘billow’. Now the parameters with conditional visibility tied to ‘billow’ appear.

  7. When changing value="1" to value="billow" in the Args file, the parameters appear when the noiseType parameter is set to it’s default value, but not when ‘billow’ is set as a local value (i.e. after changing the noiseType to something else and then back to ‘billow’)

 

Workaround

Unknown.

 

Reproduced by support

Katana 2.5v1, 2.5v5 - CentOS 7

 

Expected behaviour

The parameters should be visible as the default value of their conditionalVisPath matches the conditionalVisValue.

 

Actual behaviour

The parameters aren’t visible until the noiseType is changed and then changed back to the initial value.

    We're sorry to hear that

    Please tell us why