diff --git a/source/blender/collada/MeshImporter.cpp b/source/blender/collada/MeshImporter.cpp index da8ae70fdb3..34da6c9e897 100644 --- a/source/blender/collada/MeshImporter.cpp +++ b/source/blender/collada/MeshImporter.cpp @@ -700,7 +700,7 @@ MTex *MeshImporter::assign_textures_to_uvlayer(COLLADAFW::TextureCoordinateBindi { const COLLADAFW::TextureMapId texture_index = ctexture.getTextureMapId(); const size_t setindex = ctexture.getSetIndex(); - std::string uvname = ctexture.getName(); + std::string uvname = ctexture.getSemantic(); const CustomData *data = &me->fdata; int layer_index = CustomData_get_layer_index(data, CD_MTFACE); @@ -904,4 +904,4 @@ bool MeshImporter::write_geometry(const COLLADAFW::Geometry* geom) mesh_calc_normals(me->mvert, me->totvert, me->mface, me->totface, NULL); return true; -} +} \ No newline at end of file