Skip to content

Commit

Permalink
Merge pull request #5570 from johnhaddon/enumFixes
Browse files Browse the repository at this point in the history
PathFilterUI/CryptomatteUI : Fix drag pointer
  • Loading branch information
johnhaddon authored Nov 28, 2023
2 parents d1d6014 + 0c6e83e commit 7a12686
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/GafferSceneUI/CryptomatteUI.py
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ def __dragMove( nodeGadget, event ) :
if __originalDragPointer is None :
return False

GafferUI.Pointer.setCurrent( str( __dropMode( nodeGadget, event ) ).lower() + "Names" )
GafferUI.Pointer.setCurrent( __dropMode( nodeGadget, event ).name.lower() + "Names" )

return True

Expand Down
2 changes: 1 addition & 1 deletion python/GafferSceneUI/PathFilterUI.py
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ def __dragMove( nodeGadget, event ) :
if __originalDragPointer is None :
return False

GafferUI.Pointer.setCurrent( str( __dropMode( nodeGadget, event ) ).lower() + "Objects" )
GafferUI.Pointer.setCurrent( __dropMode( nodeGadget, event ).name.lower() + "Objects" )

return True

Expand Down

0 comments on commit 7a12686

Please sign in to comment.