From 23ceae7e7d2782439aa49ff6953934c8390428e4 Mon Sep 17 00:00:00 2001 From: ivanimanishi Date: Thu, 21 Nov 2024 11:20:58 -0800 Subject: [PATCH] DispatchDialogue : Remove `_DispatcherCreationWidget` from shown nodes --- Changes.md | 1 + python/GafferDispatchUI/DispatchDialogue.py | 2 ++ 2 files changed, 3 insertions(+) diff --git a/Changes.md b/Changes.md index 5f54ad7ae84..22551a4a18b 100644 --- a/Changes.md +++ b/Changes.md @@ -45,6 +45,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 --- diff --git a/python/GafferDispatchUI/DispatchDialogue.py b/python/GafferDispatchUI/DispatchDialogue.py index 854bcfe1cef..1d0eadcdb74 100644 --- a/python/GafferDispatchUI/DispatchDialogue.py +++ b/python/GafferDispatchUI/DispatchDialogue.py @@ -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 :