|
@@ -1098,7 +1098,7 @@ void Node::_generate_serial_child_name(const Node *p_child, StringName &name) co
|
|
|
|
|
|
// Assign the base name + separator to name if we have numbers preceded by a separator
|
|
// Assign the base name + separator to name if we have numbers preceded by a separator
|
|
if (nums.length() > 0 && name_string.substr(name_last_index, nnsep.length()) == nnsep) {
|
|
if (nums.length() > 0 && name_string.substr(name_last_index, nnsep.length()) == nnsep) {
|
|
- name_string = name_string.substr(0, name_last_index + nnsep.length()).strip_edges();
|
|
|
|
|
|
+ name_string = name_string.substr(0, name_last_index + nnsep.length());
|
|
} else {
|
|
} else {
|
|
nums = "";
|
|
nums = "";
|
|
}
|
|
}
|