diff --git a/wrap/io_trimesh/export_obj.h b/wrap/io_trimesh/export_obj.h index 5d32a432..488bbac5 100644 --- a/wrap/io_trimesh/export_obj.h +++ b/wrap/io_trimesh/export_obj.h @@ -25,6 +25,9 @@ History $Log: not supported by cvs2svn $ + Revision 1.9 2007/03/12 16:40:16 tarini + Texture coord name change! "TCoord" and "Texture" are BAD. "TexCoord" is GOOD. + Revision 1.8 2007/03/08 11:27:52 ganovelli added include to tcoord2 @@ -176,7 +179,8 @@ namespace io { static int SaveASCII(SaveMeshType &m, const char * filename, int mask, CallBackPos *cb=0) { if(m.vn == 0) return E_NOTVEXTEXVALID; - if(m.fn == 0) return E_NOTFACESVALID; + // Commented out this control. You should be allowed to save a point cloud. + // if(m.fn == 0) return E_NOTFACESVALID; int current = 0; int max = m.vn+ m.fn; diff --git a/wrap/io_trimesh/import_obj.h b/wrap/io_trimesh/import_obj.h index 268c3ade..1ea9b042 100644 --- a/wrap/io_trimesh/import_obj.h +++ b/wrap/io_trimesh/import_obj.h @@ -25,6 +25,9 @@ History $Log: not supported by cvs2svn $ +Revision 1.16 2007/07/20 14:49:46 cignoni +Added in load mask the face color bit when there is a generic material used + Revision 1.15 2007/07/05 14:47:04 cignoni Added face coloring when there is a texture (and therefore a material) @@ -302,8 +305,9 @@ static int Open( OpenMeshType &m, const char * filename, Info &oi) if (oi.numVertices == 0) return E_NO_VERTEX; - if (oi.numFaces == 0) - return E_NO_FACE; + // Commented out this test. You should be allowed to load point clouds. + //if (oi.numFaces == 0) + // return E_NO_FACE; std::ifstream stream(filename); if (stream.fail())