diff --git a/wrap/io_trimesh/export_ply.h b/wrap/io_trimesh/export_ply.h index 5a7f8734..48354816 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.16 2006/10/14 00:39:22 cignoni +Added a comment on an assert + Revision 1.15 2006/01/30 13:43:59 cignoni Added GetExportMaskCapability @@ -132,7 +135,7 @@ static int Save(SaveMeshType &m, const char * filename, bool binary=true) return Save(m,filename,binary,pi); } -static int Save(SaveMeshType &m, const char * filename, int savemask ) +static int Save(SaveMeshType &m, const char * filename, int savemask, CallBackPos *cb=0 ) { PlyInfo pi; pi.mask=savemask; diff --git a/wrap/io_trimesh/export_stl.h b/wrap/io_trimesh/export_stl.h index e89621fc..a4aa0488 100644 --- a/wrap/io_trimesh/export_stl.h +++ b/wrap/io_trimesh/export_stl.h @@ -25,6 +25,9 @@ History $Log: not supported by cvs2svn $ +Revision 1.8 2006/09/18 08:55:33 cignoni +Corrected return value of save function (zero is no error) + Revision 1.7 2006/01/30 13:43:59 cignoni Added GetExportMaskCapability @@ -69,6 +72,11 @@ template class ExporterSTL { public: +static int Save(SaveMeshType &m, const char * filename, const int &mask, CallBackPos *cb=0) +{ + return Save(m,filename,true); +} + static int Save(SaveMeshType &m, const char * filename , bool binary =true, const char *objectname=0) { typedef typename SaveMeshType::FaceIterator FaceIterator;