1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-16 14:00:40 +00:00

Fix ultra long node names

This commit is contained in:
Tomasz Chabora
2020-07-26 15:29:50 +02:00
parent cab0f12aee
commit d3f2062d86

View File

@@ -1060,7 +1060,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 {