From 32b5bdefbc027e593f38fefdc7446cc8933850c6 Mon Sep 17 00:00:00 2001 From: cignoni Date: Tue, 6 Nov 2007 10:58:25 +0000 Subject: [PATCH] Changed the return value to the standard 0 in case of success and notzero for failures --- wrap/io_trimesh/export_off.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wrap/io_trimesh/export_off.h b/wrap/io_trimesh/export_off.h index cde2f9a6..18559d00 100644 --- a/wrap/io_trimesh/export_off.h +++ b/wrap/io_trimesh/export_off.h @@ -24,6 +24,9 @@ History $Log: not supported by cvs2svn $ +Revision 1.12 2007/03/12 16:40:17 tarini +Texture coord name change! "TCoord" and "Texture" are BAD. "TexCoord" is GOOD. + Revision 1.11 2006/12/07 00:37:58 cignoni Corrected bug in the management of deleted vertices @@ -62,7 +65,7 @@ namespace vcg { vcg::face::Pos he; vcg::face::Pos hei; FILE * fpout = fopen(filename,"w"); - if(fpout==NULL) return false; + if(fpout==NULL) return 1; // 1 is the error code for cant'open, see the ErrorMsg function