From bd6e9e0d6ec94793a867325b6e9bd2203feed702 Mon Sep 17 00:00:00 2001 From: kobewi Date: Mon, 13 Dec 2021 13:33:06 +0100 Subject: Allow to copy foreign nodes --- editor/scene_tree_dock.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editor') 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; } -- cgit v1.2.3