From 4eae531f31382a8632428131a654191eb3947205 Mon Sep 17 00:00:00 2001 From: Nathan Letwory Date: Tue, 5 Oct 2010 06:10:17 +0000 Subject: TextureCoordinateBinding.getName() -> TextureCoordinateBinding.getSemantic(); as per my own patch on OpenCOLLADA issue tracker. --- source/blender/collada/MeshImporter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/collada/MeshImporter.cpp') 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 -- cgit v1.2.3