From b483d00bd8ba9a32d5cb5aacce56556e838dbe23 Mon Sep 17 00:00:00 2001 From: nicopietroni Date: Wed, 20 Apr 2011 16:49:58 +0000 Subject: [PATCH] corrected a bug on writing per Wedge textcoords.. --- wrap/io_trimesh/export_ply.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wrap/io_trimesh/export_ply.h b/wrap/io_trimesh/export_ply.h index d400ec70..38a10717 100644 --- a/wrap/io_trimesh/export_ply.h +++ b/wrap/io_trimesh/export_ply.h @@ -564,7 +564,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_WEDGTEXCOORD) ) // you can save VT as WT if you really want it... + if( HasPerVertexTexCoord(m) && (pi.mask & Mask::IOM_VERTCOORD) ) { fwrite(&b6,sizeof(char),1,fpout); float t[6];