ID 112782 - Parameter UI doesn't update properly from scripted parameter setting

Follow

Problem summary

The parameter UI doesn't update the color of dropdown triangle when parameters are locally set with the Python API.



Customer reported version

katana.3.2v1


Customer reported platform

fedora


Steps to reproduce

  1. In a new scene, create a Material node, view and edit the node.

  2. Add a viewerSurfaceShader, “KatanaBasicPhong”, but leave all the parameters collapsed.

  3. Run the following in the Python tab:

    1. NodegraphAPI.GetNode('Material').getParameter('shaders.viewerSurfaceParams.Kd.enable').setValue(1, 0)


Expected behavior

The top level parameter dropdown triangle should be yellow because the Kd parameter is locally set.


Actual behavior

The top level parameter dropdown triangle is not highlighted yellow.


Workaround

Flushing the cashes updates the UI and shows the expected result. 


Reproduced by support

This bug has been reproduced in:

Katana 3.2v2 - CentOS 7, Windows 10

Katana 3.2v1 - CentOS 7, Windows 10

Katana 3.1v7 - CentOS 7, Windows 10

Katana 3.1v1 - CentOS 7, Windows 10

Katana 3.0v1 - CentOS 7, Windows 10

Katana 2.5v1 - CentOS 7

Katana 2.0v1 - CentOS 7

Katana 1.6v3 - CentOS 7


Earliest version tested

Katana 1.6v3 - This issue appears to be in all versions of the product

    We're sorry to hear that

    Please tell us why