mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-01-11 05:19:50 +01:00
Fix build.
This commit is contained in:
parent
8265045030
commit
eecd2b11df
@ -1196,7 +1196,7 @@ void SceneTreeDock::_tool_selected(int p_tool, bool p_confirm_override) {
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
StringName name = node->get_name();
|
StringName name = node->get_name();
|
||||||
if (new_unique_names.find(name) != -1 || get_tree()->get_edited_scene_root()->get_node_or_null(UNIQUE_NODE_PREFIX + String(name)) != nullptr) {
|
if (new_unique_names.find(name) != -1 || get_tree()->get_edited_scene_root()->get_node_or_null("%" + String(name)) != nullptr) {
|
||||||
cant_be_set_unique_names.push_back(name);
|
cant_be_set_unique_names.push_back(name);
|
||||||
} else {
|
} else {
|
||||||
new_unique_nodes.push_back(node);
|
new_unique_nodes.push_back(node);
|
||||||
|
Loading…
Reference in New Issue
Block a user