Forráskód Böngészése

fix gltf importer regression from b032067e42c03, causing different BoneAttachment names

Morris Tabor 4 éve
szülő
commit
d9e9aec9b9
1 módosított fájl, 1 hozzáadás és 1 törlés
  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;
 		name = s_name;
 
 
 		if (index > 1) {
 		if (index > 1) {
-			name += itos(index);
+			name += " " + itos(index);
 		}
 		}
 		if (!state.unique_names.has(name)) {
 		if (!state.unique_names.has(name)) {
 			break;
 			break;