Skip to content

Commit

Permalink
Merge branch '1.2_maintenance' into 1.3_maintenance
Browse files Browse the repository at this point in the history
  • Loading branch information
johnhaddon committed Oct 20, 2023
2 parents 3f4f9ac + 3d71b46 commit a8de143
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
7 changes: 7 additions & 0 deletions Changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Improvements
Fixes
-----

- NameSwitch : Fixed bug which prevented drag and drop reordering of rows with an input connection.
- PythonEditor :
- Fixed output for `print()` calls with multiple arguments, which was previously spread across multiple lines.
- Fixed bug that prevented editors being destroyed at the right time.
Expand Down Expand Up @@ -432,6 +433,12 @@ Build
1.2.10.x (relative to 1.2.10.4)
========

Fixes
-----

- NameSwitch : Fixed bug which prevented drag and drop reordering of rows with an input connection.
- Scatter : Fixed loading of Scatter nodes saved from Gaffer 1.3+ (where the Seeds node was renamed to Scatter).

1.2.10.4 (relative to 1.2.10.3)
========

Expand Down
4 changes: 3 additions & 1 deletion python/GafferUI/NameSwitchUI.py
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,9 @@ def _updateFromValues( self, values, exception ) :

def _updateFromEditable( self ) :

self.__dragHandle.setEnabled( self._editable() )
# Not using `_editable()` as it considers the whole plug to be non-editable if
# any child has an input connection, but that shouldn't prevent us reordering rows.
self.__dragHandle.setEnabled( not Gaffer.MetadataAlgo.readOnly( self.getPlug() ) )

def __updateWidgetVisibility( self ) :

Expand Down

0 comments on commit a8de143

Please sign in to comment.