From 0e28dcfe31f7b4bae90f1c58d565cce671f7a84b Mon Sep 17 00:00:00 2001 From: cignoni Date: Wed, 4 Jan 2006 16:17:03 +0000 Subject: [PATCH] Corrected use of mask and callback in function Open(m,filename,mask,callback); --- wrap/io_trimesh/import_ply.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/wrap/io_trimesh/import_ply.h b/wrap/io_trimesh/import_ply.h index 2b0ccf12..044f73b3 100644 --- a/wrap/io_trimesh/import_ply.h +++ b/wrap/io_trimesh/import_ply.h @@ -24,6 +24,9 @@ History $Log: not supported by cvs2svn $ +Revision 1.22 2005/12/30 22:30:43 cignoni +Added support for per vertex color stored as 'diffuse_xxx' property + Revision 1.21 2005/12/02 10:04:18 cignoni forgotten a couple of std:: @@ -336,8 +339,8 @@ static int Open( OpenMeshType &m, const char * filename, CallBackPos *cb=0) static int Open( OpenMeshType &m, const char * filename, int & loadmask, CallBackPos *cb =0) { PlyInfo pi; - pi.mask=loadmask; - return Open(m, filename,pi); + pi.cb=cb; + return Open(m, filename,pi); loadmask=pi.mask; }