From 9caa217af9411f2e2cec1a0e27d117243c672700 Mon Sep 17 00:00:00 2001 From: Guido Ranzuglia Date: Mon, 25 Jul 2016 12:36:23 +0200 Subject: [PATCH] - removed ply error in 3d model with wedge texture coord saved in ascii format --- 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 385b4487..5ac018ad 100644 --- a/wrap/io_trimesh/export_ply.h +++ b/wrap/io_trimesh/export_ply.h @@ -559,7 +559,7 @@ namespace vcg { else if( HasPerWedgeTexCoord(m) && (pi.mask & Mask::IOM_WEDGTEXCOORD) ) { fprintf(fpout,"%d ",fp->VN()*2); - for(int k=0;kVN()*2;++k) + for(int k=0;kVN();++k) fprintf(fpout,"%f %f " ,fp->WT(k).u() ,fp->WT(k).v()