diff --git a/python/GafferSceneUI/GroupUI.py b/python/GafferSceneUI/GroupUI.py index af9a852437d..103962c26bc 100644 --- a/python/GafferSceneUI/GroupUI.py +++ b/python/GafferSceneUI/GroupUI.py @@ -56,12 +56,6 @@ plugs = { - "in*" : [ - - "plugValueWidget:type", "", - - ], - "name" : [ "description", diff --git a/python/GafferSceneUI/SceneProcessorUI.py b/python/GafferSceneUI/SceneProcessorUI.py index 118641bb50c..5c580e20597 100644 --- a/python/GafferSceneUI/SceneProcessorUI.py +++ b/python/GafferSceneUI/SceneProcessorUI.py @@ -54,6 +54,7 @@ "in" : [ "description", lambda plug : "The input scene" + ( "s" if isinstance( plug, Gaffer.ArrayPlug ) else "" ), + "plugValueWidget:type", "", "nodule:type", lambda plug : "GafferUI::CompoundNodule" if isinstance( plug, Gaffer.ArrayPlug ) else "GafferUI::StandardNodule", "compoundNodule:spacing", 2.0, diff --git a/python/GafferSceneUI/SceneSwitchUI.py b/python/GafferSceneUI/SceneSwitchUI.py index 497ad25f287..b7f5b7d84ef 100644 --- a/python/GafferSceneUI/SceneSwitchUI.py +++ b/python/GafferSceneUI/SceneSwitchUI.py @@ -50,12 +50,6 @@ plugs = { - "in*" : [ - - "plugValueWidget:type", "", - - ], - "index" : [ "description", diff --git a/python/GafferSceneUI/ShaderSwitchUI.py b/python/GafferSceneUI/ShaderSwitchUI.py index e7faf21f7be..8fdc226cc55 100644 --- a/python/GafferSceneUI/ShaderSwitchUI.py +++ b/python/GafferSceneUI/ShaderSwitchUI.py @@ -54,21 +54,20 @@ plugs = { - "in*" : [ - - "nodeGadget:nodulePosition", "left", - "plugValueWidget:type", "", - - ], - "in" : [ "description", """ - The first input shader - the one passed through when - the index is 0. + The input shaders - the index plug decides + which of these is passed through to the output. """, + "plugValueWidget:type", "", + "nodule:type", "GafferUI::CompoundNodule", + "nodeGadget:nodulePosition", "left", + "compoundNodule:orientation", "y", + "compoundNodule:spacing", 0.2, + ], "out" : [