1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-03 19:11:41 +00:00

Merge pull request #40724 from KoBeWi/weird_condition_🤔

Fix ultra long node names
This commit is contained in:
Rémi Verschelde
2020-07-26 21:58:06 +02:00
committed by GitHub

View File

@@ -1058,7 +1058,7 @@ void Node::_validate_child_name(Node *p_child, bool p_force_human_readable) {
bool unique = true;
if (p_child->data.name == StringName() || p_child->data.name.operator String()[0] == '@') {
if (p_child->data.name == StringName()) {
//new unique name must be assigned
unique = false;
} else {