fixed bug in ply exporter: changed IOM_VERTCOORD to IOM_VERTTEXCOORD when testing the save mask for texcoords.

This commit is contained in:
Marco Di Benedetto 2012-04-10 14:55:58 +00:00
parent 1548d6415a
commit 332b5d102d
1 changed files with 1 additions and 1 deletions

View File

@ -572,7 +572,7 @@ static int Save(SaveMeshType &m, const char * filename, bool binary, PlyInfo &p
if(HasPerFaceFlags(m)&&( pi.mask & Mask::IOM_FACEFLAGS) )
fwrite(&(fp->Flags()),sizeof(int),1,fpout);
if( HasPerVertexTexCoord(m) && (pi.mask & Mask::IOM_VERTCOORD) )
if( HasPerVertexTexCoord(m) && (pi.mask & Mask::IOM_VERTTEXCOORD) )
{
fwrite(&b6,sizeof(char),1,fpout);
float t[6];