Fix duplicating splines with parents

#3531
This commit is contained in:
Wojtek Figat
2025-10-02 23:31:03 +02:00
parent adcfc50218
commit 60c19303f6

View File

@@ -673,6 +673,7 @@ namespace FlaxEditor.Modules
pasteAction.Do(out _, out var nodeParents);
// Select spawned objects (parents only)
newSelection.Clear();
newSelection.AddRange(nodeParents);
var selectAction = new SelectionChangeAction(Selection.ToArray(), newSelection.ToArray(), OnSelectionUndo);
selectAction.Do();