From d3f2062d866ca0838549f83cd8870bbde5cda636 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 --- 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 88f9730f784..683fe2fb013 100644 --- a/scene/main/node.cpp +++ b/scene/main/node.cpp @@ -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 {