Merge pull request #55898 from KoBeWi/nodes_from_faraway_lands

This commit is contained in:
Rémi Verschelde 2021-12-13 14:48:25 +01:00 committed by GitHub
commit c03a5ba09c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
}