From c07c26d084ba179be4df9c2ef2129e283f6a20c2 Mon Sep 17 00:00:00 2001 From: cignoni Date: Thu, 24 Jan 2008 11:54:23 +0000 Subject: [PATCH] passed the callback in the save --- wrap/io_trimesh/export_ply.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/wrap/io_trimesh/export_ply.h b/wrap/io_trimesh/export_ply.h index 11195205..0a43576e 100644 --- a/wrap/io_trimesh/export_ply.h +++ b/wrap/io_trimesh/export_ply.h @@ -24,6 +24,9 @@ History $Log: not supported by cvs2svn $ +Revision 1.28 2007/12/13 00:20:34 cignoni +removed harmless printf cast warnings + Revision 1.27 2007/11/06 10:59:41 ponchio Typo @@ -174,10 +177,10 @@ static int Save(SaveMeshType &m, const char * filename, int savemask, CallBackP { PlyInfo pi; pi.mask=savemask; - return Save(m,filename,true,pi); + return Save(m,filename,true,pi,cb); } -static int Save(SaveMeshType &m, const char * filename, bool binary, PlyInfo &pi ) // V1.0 +static int Save(SaveMeshType &m, const char * filename, bool binary, PlyInfo &pi, CallBackPos * /* cb=0 */ ) // V1.0 { FILE * fpout; int i;