Skip to content

Commit

Permalink
ArnoldAttributesUI : Register SetExpressionPlugValueWidget
Browse files Browse the repository at this point in the history
  • Loading branch information
murraystevenson committed Jun 12, 2024
1 parent c52034a commit bbaea77
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions Changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Improvements
- When viewing the output of a Box, the menu now displays the Edit Scopes contained within.
- Added support for dropping an Edit Scope node onto the widget to set it as the current Edit Scope.
- Added support for middle-dragging from the widget to access the current Edit Scope node.
- ArnoldAttributes : Added syntax highlighting and auto-complete for set expressions on the `shadowGroup` plug.

API
---
Expand Down
7 changes: 7 additions & 0 deletions python/GafferArnoldUI/ArnoldAttributesUI.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,13 @@ def __toonSummary( plug ) :
"label", "Shadow Group",
],

"attributes.shadowGroup.value" : [

"plugValueWidget:type", "GafferSceneUI.SetExpressionPlugValueWidget",
"ui:scene:acceptsSetExpression", True,

],

"attributes.diffuseReflectionVisibility" : [

"description",
Expand Down

0 comments on commit bbaea77

Please sign in to comment.