diff --git a/Changes.md b/Changes.md index 9f31a75ef8..cab17c55c5 100644 --- a/Changes.md +++ b/Changes.md @@ -10,6 +10,7 @@ Improvements ------------ - VisualiserTool : Changed `dataName` input widget for choosing the primitive variable to visualise to a list of available variable names for the current selection. +- Tweaks nodes : Moved list of tweaks to a collapsible "Tweaks" section in the NodeEditor. Fixes ----- diff --git a/python/GafferSceneUI/AttributeTweaksUI.py b/python/GafferSceneUI/AttributeTweaksUI.py index 4467bfd121..15459eba31 100644 --- a/python/GafferSceneUI/AttributeTweaksUI.py +++ b/python/GafferSceneUI/AttributeTweaksUI.py @@ -89,6 +89,8 @@ def __attributeMetadataPresetValues( plug ) : Makes modifications to attributes. """, + "layout:section:Settings.Tweaks:collapsed", False, + plugs = { "localise" : [ @@ -122,6 +124,7 @@ def __attributeMetadataPresetValues( plug ) : using the AttributeTweaks API via python. """, + "layout:section", "Settings.Tweaks", "plugValueWidget:type", "GafferUI.LayoutPlugValueWidget", "layout:customWidget:footer:widgetType", "GafferSceneUI.AttributeTweaksUI._TweaksFooter", "layout:customWidget:footer:index", -1, diff --git a/python/GafferSceneUI/CameraTweaksUI.py b/python/GafferSceneUI/CameraTweaksUI.py index a0e1c2997f..9e75a0ed79 100644 --- a/python/GafferSceneUI/CameraTweaksUI.py +++ b/python/GafferSceneUI/CameraTweaksUI.py @@ -66,6 +66,8 @@ first, then the second, etc. """, + "layout:section:Settings.Tweaks:collapsed", False, + plugs = { "ignoreMissing" : [ @@ -89,6 +91,7 @@ interface, or via the CameraTweaks API in Python. """, + "layout:section", "Settings.Tweaks", "plugValueWidget:type", "GafferUI.LayoutPlugValueWidget", "layout:customWidget:footer:widgetType", "GafferSceneUI.CameraTweaksUI._TweaksFooter", "layout:customWidget:footer:index", -1, diff --git a/python/GafferSceneUI/OptionTweaksUI.py b/python/GafferSceneUI/OptionTweaksUI.py index 541b03dbd9..5bcb8831e7 100644 --- a/python/GafferSceneUI/OptionTweaksUI.py +++ b/python/GafferSceneUI/OptionTweaksUI.py @@ -88,6 +88,8 @@ def __optionMetadataPresetValues( plug ) : Makes modifications to options. """, + "layout:section:Settings.Tweaks:collapsed", False, + plugs = { "ignoreMissing" : [ @@ -109,6 +111,7 @@ def __optionMetadataPresetValues( plug ) : using the OptionTweaks API via python. """, + "layout:section", "Settings.Tweaks", "plugValueWidget:type", "GafferUI.LayoutPlugValueWidget", "layout:customWidget:footer:widgetType", "GafferSceneUI.OptionTweaksUI._TweaksFooter", "layout:customWidget:footer:index", -1, diff --git a/python/GafferSceneUI/ShaderTweaksUI.py b/python/GafferSceneUI/ShaderTweaksUI.py index 885b44ff9c..79262c9e96 100644 --- a/python/GafferSceneUI/ShaderTweaksUI.py +++ b/python/GafferSceneUI/ShaderTweaksUI.py @@ -56,6 +56,8 @@ Makes modifications to shader parameter values. """, + "layout:section:Settings.Tweaks:collapsed", False, + plugs = { "shader" : [ @@ -110,6 +112,7 @@ interface, or using the ShaderTweaks API via python. """, + "layout:section", "Settings.Tweaks", "plugValueWidget:type", "GafferUI.LayoutPlugValueWidget", "layout:customWidget:footer:widgetType", "GafferSceneUI.ShaderTweaksUI._TweaksFooter", "layout:customWidget:footer:index", -1, diff --git a/python/GafferUI/ContextVariableTweaksUI.py b/python/GafferUI/ContextVariableTweaksUI.py index 0634f8bebf..ebc5cbd1be 100644 --- a/python/GafferUI/ContextVariableTweaksUI.py +++ b/python/GafferUI/ContextVariableTweaksUI.py @@ -52,6 +52,8 @@ from downstream nodes, resulting in different values given to upstream nodes. """, + "layout:section:Settings.Tweaks:collapsed", False, + plugs = { "ignoreMissing" : [ @@ -74,6 +76,7 @@ using the ContextVariableTweaks API via python. """, + "layout:section", "Settings.Tweaks", "plugValueWidget:type", "GafferUI.LayoutPlugValueWidget", "layout:customWidget::footer:widgetType", "GafferUI.ContextVariableTweaksUI._TweaksFooter", "layout:customWidget:footer:index", -1,