Allow to copy foreign nodes

This commit is contained in:
kobewi 2021-12-13 13:33:06 +01:00
parent a5c14bd102
commit bd6e9e0d6e

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