Fix ultra long node names

(cherry picked from commit d3f2062d86)
This commit is contained in:
Tomasz Chabora 2020-07-26 15:29:50 +02:00 committed by Rémi Verschelde
parent 5692bb4c81
commit cd01cda143
1 changed files with 1 additions and 1 deletions

View File

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