From ce975c026d50d25071fa73e18f753b9040ec9a1f Mon Sep 17 00:00:00 2001 From: maxcorsini Date: Thu, 9 Feb 2006 15:56:34 +0000 Subject: [PATCH] Update load mask --- wrap/io_trimesh/import_off.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/wrap/io_trimesh/import_off.h b/wrap/io_trimesh/import_off.h index 23c74a31..c1d3420a 100644 --- a/wrap/io_trimesh/import_off.h +++ b/wrap/io_trimesh/import_off.h @@ -24,6 +24,9 @@ History $Log: not supported by cvs2svn $ +Revision 1.14 2006/02/09 15:18:32 corsini +*** empty log message *** + Revision 1.12 2006/02/06 13:11:01 corsini Renamed UnexpectedEOF as InvalidFile and added UnsupportedFormat and ErrorNotTriangularFace (by Laurent Saboret) @@ -456,6 +459,9 @@ namespace vcg loadmask = Mask::IOM_VERTCOORD | Mask::IOM_FACEINDEX; + if (isNormalDefined) + loadmask |= Mask::IOM_VERTNORMAL; + if (isColorDefined) { if (VertexType::HasColor())