mirror of
https://github.com/godotengine/godot.git
synced 2024-12-09 10:09:20 +08:00
Disallow 'Make Local' command on inherited nodes.
This commit is contained in:
parent
a574c0296b
commit
0f36040321
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user