From d9e9aec9b9515f5a438f9aaf112184b0827bbca3 Mon Sep 17 00:00:00 2001 From: Morris Tabor <80684659+mortarroad@users.noreply.github.com> Date: Fri, 9 Apr 2021 10:25:36 +0200 Subject: [PATCH] fix gltf importer regression from b032067e42c03, causing different BoneAttachment names --- editor/import/editor_scene_importer_gltf.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/import/editor_scene_importer_gltf.cpp b/editor/import/editor_scene_importer_gltf.cpp index 8fd75599ae1..878fcbf77b0 100644 --- a/editor/import/editor_scene_importer_gltf.cpp +++ b/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;