Merge pull request #47742 from mortarroad/3.x-fix-gltf-bone-names-space

[3.3] fix gltf importer regression from b032067e42, causing different BoneAttachment names
This commit is contained in:
Rémi Verschelde 2021-04-20 20:12:41 +02:00 committed by GitHub
commit 2335da5af2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;