From 733bdcbc787886c9d7a42a169fab5c280068df1d Mon Sep 17 00:00:00 2001 From: maxcorsini Date: Wed, 29 Mar 2006 08:14:20 +0000 Subject: [PATCH] Add LoadMask to OFF importer --- wrap/io_trimesh/export.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/wrap/io_trimesh/export.h b/wrap/io_trimesh/export.h index 6a1c9f7a..fe122ed4 100644 --- a/wrap/io_trimesh/export.h +++ b/wrap/io_trimesh/export.h @@ -25,6 +25,9 @@ History $Log: not supported by cvs2svn $ +Revision 1.3 2006/02/16 19:28:36 fmazzant +transfer of Export_3ds.h, Export_obj.h, Io_3ds_obj_material.h from Meshlab to vcg + Revision 1.2 2006/01/13 15:47:42 cignoni Uniformed return type to the style of Open. Now every export function returns 0 in case of success. @@ -41,7 +44,7 @@ Initial Commit #include #include #include -#include +//#include #include @@ -107,8 +110,8 @@ static int Save(OpenMeshType &m, const char *filename, const int mask, CallBackP } else if(FileExtension(filename,"obj")) { - err = ExporterOBJ::Save(m,filename,mask,cb); - LastType()=KT_OBJ; + //err = ExporterOBJ::Save(m,filename,mask,cb); + //LastType()=KT_OBJ; } else { err=1; @@ -126,7 +129,7 @@ static const char *ErrorMsg(int error) case KT_STL : return ExporterSTL::ErrorMsg(error); break; case KT_OFF : return ExporterOFF::ErrorMsg(error); break; case KT_DXF : return ExporterDXF::ErrorMsg(error); break; - case KT_OBJ : return ExporterOBJ::ErrorMsg(error); break; +// case KT_OBJ : return ExporterOBJ::ErrorMsg(error); break; } return "Unknown type"; }