Skip to content

Commit

Permalink
Merge pull request #6153 from ivanimanishi/DispatchDialogueFix
Browse files Browse the repository at this point in the history
DispatchDialogue : Remove `_DispatcherCreationWidget` from shown nodes
  • Loading branch information
johnhaddon authored Nov 22, 2024
2 parents 3149290 + 23ceae7 commit 9833354
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions Changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ Fixes
- ImageWriter : Matched view metadata to Nuke when using the Nuke options for `layout`. This should address an issue where EXRs written from Gaffer using Nuke layouts sometimes did not load correctly in Nuke (#6120). In the unlikely situation that you were relying on the old behaviour, you can set the env var `GAFFERIMAGE_IMAGEWRITER_OMIT_DEFAULT_NUKE_VIEW = 1` in order to keep the old behaviour.
- OSLObject : Fixed `getattribute()` to support 64 bit integer data, such as an `instanceId` primitive variable loaded from USD. Since OSL doesn't provide a 64 bit integer type, values are truncated to 32 bits.
- MeshSplit : Vertex order is now preserved.
- DispatchDialogue : Removed `_DispatcherCreationWidget` from shown nodes.

API
---
Expand Down
2 changes: 2 additions & 0 deletions python/GafferDispatchUI/DispatchDialogue.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ def __init__( self, tasks, dispatchers, nodesToShow, postDispatchBehaviour=PostD
nodeFrame.addChild( self.__nodeEditor( node ) )
# remove the per-node execute button
Gaffer.Metadata.registerValue( node, "layout:customWidget:dispatchButton:widgetType", "", persistent = False )
# remove the per-node widget to create a dispatcher
Gaffer.Metadata.registerValue( node, "layout:customWidget:dispatcherCreationWidget:widgetType", "", persistent = False )
self.__tabs.setLabel( nodeFrame, node.relativeName( self.__script ) )

with GafferUI.ListContainer() as dispatcherTab :
Expand Down

0 comments on commit 9833354

Please sign in to comment.