From 1b9a2d40a2051e4b56abc09d9d0708e940326cab Mon Sep 17 00:00:00 2001 From: cignoni Date: Sat, 14 Oct 2006 00:18:42 +0000 Subject: [PATCH] Allowed the correct loading of meshes with 0 faces --- wrap/io_trimesh/import_ply.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wrap/io_trimesh/import_ply.h b/wrap/io_trimesh/import_ply.h index fb7242cd..43fcdba3 100644 --- a/wrap/io_trimesh/import_ply.h +++ b/wrap/io_trimesh/import_ply.h @@ -24,6 +24,9 @@ History $Log: not supported by cvs2svn $ +Revision 1.28 2006/05/16 15:01:30 cignoni +Wedge colors are loaded into facecolor only if specified in the incoming pi.mask + Revision 1.27 2006/05/03 21:21:21 cignoni Corrected bug: mismatch in the index of confidence vertex property (8 instead of 11) Changed HasPerFaceColor to the new syntax (HasPerFaceColor(m) instead of FaceType::HasFaceColor() ) @@ -636,7 +639,7 @@ static int Open( OpenMeshType &m, const char * filename, PlyInfo &pi ) for(j=0,vi=m.vert.begin();j0) )/************************************************************/ { int j;