From d349f3d3f6aeeeae34f4ff58a99ab55c329ecb82 Mon Sep 17 00:00:00 2001 From: granzuglia Date: Fri, 27 Jun 2014 09:58:29 +0000 Subject: [PATCH] - from Point3f to CoordType --- wrap/io_trimesh/import_ctm.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wrap/io_trimesh/import_ctm.h b/wrap/io_trimesh/import_ctm.h index 6a4b257b..540299a8 100644 --- a/wrap/io_trimesh/import_ctm.h +++ b/wrap/io_trimesh/import_ctm.h @@ -44,6 +44,7 @@ class ImporterCTM { public: +typedef typename OpenMeshType::CoordType CoordType; typedef typename OpenMeshType::VertexPointer VertexPointer; typedef typename OpenMeshType::ScalarType ScalarType; typedef typename OpenMeshType::VertexType VertexType; @@ -107,7 +108,7 @@ static int Open( OpenMeshType &m, const char * filename, int &loadmask, CallBack m.Clear(); Allocator::AddVertices(m, vertCount); for(unsigned int i=0;i