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