diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-12-13 14:48:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-13 14:48:25 +0100 |
commit | c03a5ba09c5b8edb75e0ee7297a3a9d61adcd2d7 (patch) | |
tree | 29a48f40b2bf8af24a0f3de8dca209db93903819 /editor | |
parent | a5c14bd10214ba10f5b37452dc4ce428c3427c9c (diff) | |
parent | bd6e9e0d6ec94793a867325b6e9bd2203feed702 (diff) |
Merge pull request #55898 from KoBeWi/nodes_from_faraway_lands
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; } |