From f6d9f4de7cc252d4abceba8c16530acaef25956b Mon Sep 17 00:00:00 2001 From: dibenedetto Date: Fri, 23 Oct 2009 20:24:10 +0000 Subject: [PATCH] save texture file names if vertex texcoord bit is set. --- 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 3a67acb5..1db7aeab 100644 --- a/wrap/io_trimesh/export_ply.h +++ b/wrap/io_trimesh/export_ply.h @@ -212,7 +212,7 @@ static int Save(SaveMeshType &m, const char * filename, bool binary, PlyInfo &p ,h ); - if( pi.mask & Mask::IOM_WEDGTEXCOORD ) + if (((pi.mask & Mask::IOM_WEDGTEXCOORD) != 0) || ((pi.mask & Mask::IOM_VERTTEXCOORD) != 0)) { const char * TFILE = "TextureFile";