From 7310eb3f588ee71a2d547650001b5babcd06a4f4 Mon Sep 17 00:00:00 2001 From: cignoni Date: Mon, 18 Sep 2006 08:55:33 +0000 Subject: [PATCH] Corrected return value of save function (zero is no error) --- wrap/io_trimesh/export_stl.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wrap/io_trimesh/export_stl.h b/wrap/io_trimesh/export_stl.h index 0e489812..e89621fc 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.7 2006/01/30 13:43:59 cignoni +Added GetExportMaskCapability + Revision 1.6 2006/01/13 15:47:43 cignoni Uniformed return type to the style of Open. Now every export function returns 0 in case of success. @@ -123,7 +126,7 @@ static int Save(SaveMeshType &m, const char * filename , bool binary =true, cons fprintf(fp,"endsolid vcg\n"); } fclose(fp); - return true; + return 0; } static const char *ErrorMsg(int error) {