diff --git a/Changes.md b/Changes.md index 562e8a33885..129607e90a0 100644 --- a/Changes.md +++ b/Changes.md @@ -40,7 +40,7 @@ API - ProcessorWidget provides a base class for custom widgets, and a factory mechanism for registering them against processors. - SimpleProcessorWidget provides a base class for widgets with a simple summary label and optional action links. - TractorDispatcher : The `preSpoolSignal()` now provides an additional `taskData` argument to slots, which maps from Tractor tasks to information about the Gaffer tasks they will execute. -- LabelPlugValueWidget : Added optional `showValueChangedIndicator` metadata entry. If a plug has this entry set to `False`, the icon next to the label that indicates the value has changed will not be shown. Defaults to `True` if the value is not set. +- LabelPlugValueWidget : Added optional `labelPlugValueWidget:showValueChangedIndicator` metadata entry. If a plug has this entry set to `False`, the icon next to the label that indicates the value has changed will not be shown. Defaults to `True` if the value is not set. Breaking Changes ---------------- diff --git a/python/GafferUI/LabelPlugValueWidget.py b/python/GafferUI/LabelPlugValueWidget.py index 59454711924..f412ba43d62 100644 --- a/python/GafferUI/LabelPlugValueWidget.py +++ b/python/GafferUI/LabelPlugValueWidget.py @@ -45,7 +45,7 @@ # Supported plug metadata : # # - "renameable" -# - "showValueChangedIndicator" : If `False`, the indicator that the +# - "labelPlugValueWidget:showValueChangedIndicator" : If `False`, the indicator that the # plug value has changed will not be shown. Defaults to `True` if not set. class LabelPlugValueWidget( GafferUI.PlugValueWidget ) : @@ -79,7 +79,7 @@ def __init__( self, plug, horizontalAlignment=GafferUI.Label.HorizontalAlignment all( ( p.direction() == Gaffer.Plug.Direction.In and - Gaffer.Metadata.value( p, "showValueChangedIndicator" ) != False + Gaffer.Metadata.value( p, "labelPlugValueWidget:showValueChangedIndicator" ) != False ) for p in self.getPlugs() ) diff --git a/python/GafferUI/SplinePlugValueWidget.py b/python/GafferUI/SplinePlugValueWidget.py index 602fd9712a6..25300fd57cd 100644 --- a/python/GafferUI/SplinePlugValueWidget.py +++ b/python/GafferUI/SplinePlugValueWidget.py @@ -98,8 +98,8 @@ def __buttonPress( self, button, event ) : Gaffer.Metadata.registerValue( plugType, "interpolation", "plugValueWidget:type", "GafferUI.PresetsPlugValueWidget" ) for name, value in sorted( Gaffer.SplineDefinitionInterpolation.names.items() ): Gaffer.Metadata.registerValue( plugType, "interpolation", "preset:" + name, value ) - Gaffer.Metadata.registerValue( plugType, "p[0-9]*.x", "showValueChangedIndicator", False ) - Gaffer.Metadata.registerValue( plugType, "p[0-9]*.y", "showValueChangedIndicator", False ) + Gaffer.Metadata.registerValue( plugType, "p[0-9]*.x", "labelPlugValueWidget:showValueChangedIndicator", False ) + Gaffer.Metadata.registerValue( plugType, "p[0-9]*.y", "labelPlugValueWidget:showValueChangedIndicator", False ) ## \todo See comments for `ColorSwatchPlugValueWidget._ColorPlugValueDialogue`. # I think the best approach is probably to move the `acquire()` mechanism to the