From 1e4b72e69ce0935a93ccc48d11c110704420a2de Mon Sep 17 00:00:00 2001 From: granzuglia Date: Fri, 30 Oct 2009 17:44:35 +0000 Subject: [PATCH] added parameters to Open (fabio ganovelli) --- wrap/io_trimesh/import_vmi.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/wrap/io_trimesh/import_vmi.h b/wrap/io_trimesh/import_vmi.h index fbe577ba..1eb7ff5a 100644 --- a/wrap/io_trimesh/import_vmi.h +++ b/wrap/io_trimesh/import_vmi.h @@ -615,7 +615,7 @@ namespace io { return true; } - static int Open(OpenMeshType &m,char * filename){ + static int Open(OpenMeshType &m, const char * filename, int & mask, CallBackPos * cb = 0 ){ typedef typename OpenMeshType::VertexType VertexType; typedef typename OpenMeshType::FaceType FaceType; @@ -627,7 +627,6 @@ namespace io { unsigned int vertSize,faceSize; /* read the header */ - int mask = 0; GetHeader(fnameV, fnameF, vertSize, faceSize,mask); /* read the mesh type */