Skip to content

Commit

Permalink
ArnoldShaderUI : Don't error for unknown widget metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
johnhaddon committed Mar 22, 2024
1 parent 28976d9 commit f5d835a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Fixes

- InteractiveRender : Fixed context used to evaluate scene globals when renderer is set to "Default".
- Instancer : Fixed handling of unindexed primvars in RootPerVertex mode.
- ArnoldShader : Fixed startup errors caused by unknown values in `widget` metadata.

1.3.14.0 (relative to 1.3.13.1)
========
Expand Down
2 changes: 1 addition & 1 deletion python/GafferArnoldUI/ArnoldShaderUI.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ def __translateNodeMetadata( nodeEntry ) :
"camera" : "GafferSceneUI.ScenePathPlugValueWidget",
"colorSpace" : "GafferUI.PresetsPlugValueWidget",
"null" : "",
}[widget]
}.get( widget )

if widget == "camera" :
__metadata[paramPath]["scenePathPlugValueWidget:setNames"] = IECore.StringVectorData( [ "__cameras" ] )
Expand Down

0 comments on commit f5d835a

Please sign in to comment.