mirror of
https://github.com/godotengine/godot.git
synced 2025-04-01 00:41:35 +08:00
Fix ultra long node names
This commit is contained in:
parent
cab0f12aee
commit
d3f2062d86
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user