You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
Merge pull request #96189 from SaracenOne/disable_placeholder_toggle
Add Instance Placeholder validation check.
This commit is contained in:
@@ -1241,6 +1241,10 @@ void SceneTreeDock::_tool_selected(int p_tool, bool p_confirm_override) {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!_validate_no_foreign()) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
List<Node *> selection = editor_selection->get_selected_node_list();
|
List<Node *> selection = editor_selection->get_selected_node_list();
|
||||||
List<Node *>::Element *e = selection.front();
|
List<Node *>::Element *e = selection.front();
|
||||||
if (e) {
|
if (e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user