TextureCoordinateBinding.getName() -> TextureCoordinateBinding.getSemantic(); as per my own patch on OpenCOLLADA issue tracker.

This commit is contained in:
Nathan Letwory 2010-10-05 06:10:17 +00:00
parent 3cf2d2fd4e
commit 4eae531f31

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