Browse Source

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

[3.3] fix gltf importer regression from b032067e42c03, causing different BoneAttachment names
Rémi Verschelde 4 years ago
parent
commit
2335da5af2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      editor/import/editor_scene_importer_gltf.cpp

+ 1 - 1
editor/import/editor_scene_importer_gltf.cpp

@@ -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;