State:New|TargetRelease:No Target|icon_bug|icon_katana|database:public|Resolution:Fixed|BugID:305764|
Problem summary:
When changing values of shader parameters of a light in a GafferThree node via NodegraphAPI scripting while the parameters of the node are not shown in a Parameters tab, then setting the edit flag on the GafferThree node, the UI does not update correctly to reflect those changes.
Steps to reproduce:
gafferThreeNode = NodegraphAPI.GetNode('GafferThree')package = gafferThreeNode.getPackageForPath('/root/world/lgt/gaffer/areaLight')materialNode = package.getMaterialNode()materialNode.getParameter('shaders.dlLightParams.intensity.enable').setValue(True, 0)materialNode.getParameter('shaders.dlLightParams.intensity.value').setValue(34, 0) Set the edit flag on the GafferThree node again.
Expected behaviour:
The area light's intensity is shown as 34 and drawn in yellow.
Actual behaviour:
The area light's intensity is still shown as 1 and drawn in white.
Workaround:
Show the parameters of the GafferThree node in a floating pane. This will trigger a UI refresh in other Parameters tabs that show the node's parameters.
Reproduced versions/platforms:
Customer version/platform:
Not supplied.
We're sorry to hear that
Please tell us why