Some fancy smart drop idea, which says:
If hierarchy node is selected explicitely, then payload should be added as its child. Otherwise, on the global leve. When, left clicked on the scene, the selection is cleared.
Bugfix: SceneEditorWorkspace selection change
Update internal selection state for viewport widget caused by external selection change. Fixes bug, when after pasting
cannot right away drag the pased game object.
Adjusment: Copy/Paste
Changed logic for game object paste. If intented parent is specified from hierarchy widget, then paste everything there.
Otherwise, paste to payload to the parent of original parent, that payload had. So if A->C and you copy C, witout specific selection you will have two Cs under A, as if A->C,C.
Some fancy smart drop idea, which says: If hierarchy node is selected explicitely, then payload should be added as its child. Otherwise, on the global leve. When, left clicked on the scene, the selection is cleared.
Bugfix: SceneEditorWorkspace selection change
Update internal selection state for viewport widget caused by external selection change. Fixes bug, when after pasting cannot right away drag the pased game object.
Adjusment: Copy/Paste
Changed logic for game object paste. If intented parent is specified from hierarchy widget, then paste everything there. Otherwise, paste to payload to the parent of original parent, that payload had. So if A->C and you copy C, witout specific selection you will have two Cs under A, as if A->C,C.