From c402dee86ab0683fe383b1d8701060d0db38069e Mon Sep 17 00:00:00 2001 From: azagoruyko Date: Sat, 24 Feb 2024 08:49:39 +0100 Subject: [PATCH] set selection on duplicated items --- mayaModule/skeleposer/scripts/skeleposerEditor/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mayaModule/skeleposer/scripts/skeleposerEditor/__init__.py b/mayaModule/skeleposer/scripts/skeleposerEditor/__init__.py index 4f78ac7..58f87d9 100644 --- a/mayaModule/skeleposer/scripts/skeleposerEditor/__init__.py +++ b/mayaModule/skeleposer/scripts/skeleposerEditor/__init__.py @@ -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):