fix gltf importer regression from b032067e42, causing different BoneAttachment names

This commit is contained in:
Morris Tabor 2021-04-09 10:25:36 +02:00
parent 5fe89e8ccd
commit d9e9aec9b9

View file

@ -165,7 +165,7 @@ String EditorSceneImporterGLTF::_gen_unique_name(GLTFState &state, const String
name = s_name;
if (index > 1) {
name += itos(index);
name += " " + itos(index);
}
if (!state.unique_names.has(name)) {
break;