From 2d07c3bcbff0293ad55563c748aecfd8ea29e980 Mon Sep 17 00:00:00 2001 From: maxcorsini Date: Wed, 29 Mar 2006 08:17:56 +0000 Subject: [PATCH] fix typo --- apps/trimeshinfo/trimeshinfo.cpp | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/apps/trimeshinfo/trimeshinfo.cpp b/apps/trimeshinfo/trimeshinfo.cpp index c45254c5..4e079ec9 100644 --- a/apps/trimeshinfo/trimeshinfo.cpp +++ b/apps/trimeshinfo/trimeshinfo.cpp @@ -24,6 +24,9 @@ History $Log: not supported by cvs2svn $ +Revision 1.37 2006/03/27 07:15:59 cignoni +Added LoadMask + Revision 1.36 2006/02/28 14:54:10 corsini Fix load mask initialization @@ -272,12 +275,13 @@ static const char * HTML_TABLE[HTML_LINES]= }; -int OpenMesh(const char *filename, CMesh &m) +int OpenMesh(const char *filename, CMesh &m) { printf(" Mesh loading..."); int mask = 0; - tri::io::Importer::LoadMask(filename,mask); + + tri::io::Importer::LoadMask(filename,mask); int err = tri::io::Importer::Open(m, filename); if (err) @@ -701,7 +705,7 @@ int main(int argc, char ** argv) // Mesh loading ////////////////////////////////////////// - int load_mask = OpenMesh(mi.FileName.c_str(),m); + int load_mask = OpenMesh(mi.FileName.c_str(), m); if (load_mask & vcg::tri::io::Mask::IOM_VERTNORMAL) mi.hasVNormal = true;