Skip to content

Commit

Permalink
set selection on duplicated items
Browse files Browse the repository at this point in the history
  • Loading branch information
azagoruyko committed Feb 24, 2024
1 parent d8e9adc commit c402dee
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mayaModule/skeleposer/scripts/skeleposerEditor/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1615,6 +1615,9 @@ def duplicateItems(self, items=None, parent=None):

for i in range(item.childCount()):
self.duplicateItems([item.child(i)], newItem)

item.setSelected(False)
newItem.setSelected(True)

@undoBlock
def setupWeightFromSelection(self):
Expand Down

0 comments on commit c402dee

Please sign in to comment.