Merge pull request #40724 from KoBeWi/weird_condition_🤔
Fix ultra long node names
This commit is contained in:
commit
d7e00a20a6
|
@ -1058,7 +1058,7 @@ void Node::_validate_child_name(Node *p_child, bool p_force_human_readable) {
|
||||||
|
|
||||||
bool unique = true;
|
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
|
//new unique name must be assigned
|
||||||
unique = false;
|
unique = false;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue