From e64b6d784909b3e07564000bc4667497d5552995 Mon Sep 17 00:00:00 2001 From: cignoni Date: Wed, 4 Jan 2006 16:14:43 +0000 Subject: [PATCH] Added callback managment on loading of binary stl --- wrap/io_trimesh/import_stl.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/wrap/io_trimesh/import_stl.h b/wrap/io_trimesh/import_stl.h index 50f7e570..479e8fb0 100644 --- a/wrap/io_trimesh/import_stl.h +++ b/wrap/io_trimesh/import_stl.h @@ -25,6 +25,9 @@ History $Log: not supported by cvs2svn $ +Revision 1.9 2005/09/15 09:29:45 m_di_benedetto +#included missing and + Revision 1.8 2004/10/28 00:52:45 cignoni Better Doxygen documentation @@ -173,6 +176,7 @@ static int OpenBinary( OpenMeshType &m, const char * filename, CallBackPos *cb=0 ++vi; } ++fi; + if(cb && (i%1000)==0) cb((i*100)/facenum,"STL Mesh Loading"); } fclose(fp); return E_NOERROR;