Merge pull request #83386 from SaracenOne/make_local_inherited

Disallow 'Make Local' command on inherited nodes.
This commit is contained in:
Rémi Verschelde 2023-10-16 13:00:59 +02:00
commit 3d9ce123fa
No known key found for this signature in database
GPG Key ID: C3336907360768E1

View File

@ -1061,6 +1061,10 @@ void SceneTreeDock::_tool_selected(int p_tool, bool p_confirm_override) {
break;
}
if (!_validate_no_foreign()) {
break;
}
List<Node *> selection = editor_selection->get_selected_node_list();
List<Node *>::Element *e = selection.front();
if (e) {