From 73751c6e766460dcf27a82c17dc6aae3d7102e2e Mon Sep 17 00:00:00 2001 From: cnr-isti-vclab Date: Wed, 12 Jul 2006 12:12:36 +0000 Subject: [PATCH] some extra typename directives for compilation with gcc 4.1 on linux --- wrap/io_trimesh/import_dae.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wrap/io_trimesh/import_dae.h b/wrap/io_trimesh/import_dae.h index c3ee5b61..c3c223c9 100644 --- a/wrap/io_trimesh/import_dae.h +++ b/wrap/io_trimesh/import_dae.h @@ -103,7 +103,7 @@ public: assert(flst.size() % str == 0); for(unsigned int cont = 0;cont < flst.size();cont += str) { - OpenMeshType::VertexIterator vi=vcg::tri::Allocator::AddVertices(m,1); + typename OpenMeshType::VertexIterator vi=vcg::tri::Allocator::AddVertices(m,1); vi->P()= vcg::Point3f(flst[cont],flst[cont + 1],flst[cont + 2]); vi->N() = vcg::Point3f(0.0,0.0,0.0); } @@ -136,7 +136,7 @@ public: for(unsigned int ind = 0;ind < pos->indices.size();++ind) { - OpenMeshType::FaceIterator fi=vcg::tri::Allocator::AddFaces(m,1); + typename OpenMeshType::FaceIterator fi=vcg::tri::Allocator::AddFaces(m,1); assert(pos->indices[ind] < m.vert.size()); fi->V(0) = &m.vert[pos->indices[ind]]; @@ -244,4 +244,4 @@ public: } } -#endif \ No newline at end of file +#endif