From cd01cda143dd5ab71a6bad225c60e846fb06bd61 Mon Sep 17 00:00:00 2001 From: Tomasz Chabora Date: Sun, 26 Jul 2020 15:29:50 +0200 Subject: [PATCH] Fix ultra long node names (cherry picked from commit d3f2062d866ca0838549f83cd8870bbde5cda636) --- scene/main/node.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scene/main/node.cpp b/scene/main/node.cpp index 0d516ce4f09..81c7b382c7f 100644 --- a/scene/main/node.cpp +++ b/scene/main/node.cpp @@ -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 {