diff options
author | kobewi <kobewi4e@gmail.com> | 2021-12-13 13:33:06 +0100 |
---|---|---|
committer | kobewi <kobewi4e@gmail.com> | 2021-12-13 13:33:06 +0100 |
commit | bd6e9e0d6ec94793a867325b6e9bd2203feed702 (patch) | |
tree | 29a48f40b2bf8af24a0f3de8dca209db93903819 /editor | |
parent | a5c14bd10214ba10f5b37452dc4ce428c3427c9c (diff) |
Allow to copy foreign nodes
Diffstat (limited to 'editor')
-rw-r--r-- | editor/scene_tree_dock.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/scene_tree_dock.cpp b/editor/scene_tree_dock.cpp index 14c70c6c50..f7d8d471ce 100644 --- a/editor/scene_tree_dock.cpp +++ b/editor/scene_tree_dock.cpp @@ -432,7 +432,7 @@ void SceneTreeDock::_tool_selected(int p_tool, bool p_confirm_override) { } break; case TOOL_CUT: case TOOL_COPY: { - if (!edited_scene || !_validate_no_foreign()) { + if (!edited_scene || (p_tool == TOOL_CUT && !_validate_no_foreign())) { break; } |