Browse Source

Allow to copy foreign nodes

(cherry picked from commit bd6e9e0d6ec94793a867325b6e9bd2203feed702)
kobewi 3 years ago
parent
commit
f874df58f7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      editor/scene_tree_dock.cpp

+ 1 - 1
editor/scene_tree_dock.cpp

@@ -428,7 +428,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;
 			}