From d10a9822d383699f188fe38d96184030fd7c539c Mon Sep 17 00:00:00 2001 From: ganovelli Date: Fri, 15 Oct 2010 09:25:27 +0000 Subject: [PATCH] replaced ImportLocal with ImportData (it was left behind) --- vcg/complex/trimesh/polygon_support.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vcg/complex/trimesh/polygon_support.h b/vcg/complex/trimesh/polygon_support.h index c553392a..0ef331c1 100644 --- a/vcg/complex/trimesh/polygon_support.h +++ b/vcg/complex/trimesh/polygon_support.h @@ -60,7 +60,7 @@ namespace vcg typename TriMeshType ::VertexIterator tvi = Allocator::AddVertices(tm,pm.vert.size()); int cnt = 0; for(tvi = tm.vert.begin(),vi = pm.vert.begin(); tvi != tm.vert.end(); ++tvi,++vi,++cnt) - if(!(*vi).IsD()) (*tvi).ImportLocal(*vi); else vcg::tri::Allocator::DeleteVertex(tm,(*tvi)); + if(!(*vi).IsD()) (*tvi).ImportData(*vi); else vcg::tri::Allocator::DeleteVertex(tm,(*tvi)); typename PolyMeshType::FaceIterator fi; for(fi = pm.face.begin(); fi != pm.face.end(); ++fi) @@ -98,7 +98,7 @@ namespace vcg typename TriMeshType ::ConstVertexIterator tvi; typename PolyMeshType::VertexIterator vi = vcg::tri::Allocator::AddVertices(pm,tm.vert.size()); for(tvi = tm.vert.begin(); tvi != tm.vert.end(); ++tvi,++vi,++cnt) - if(!(*tvi).IsD())(*vi).ImportLocal(*tvi); else vcg::tri::Allocator ::DeleteVertex(pm,(*vi)); + if(!(*tvi).IsD())(*vi).ImportData(*tvi); else vcg::tri::Allocator ::DeleteVertex(pm,(*vi)); // convert the faces typename TriMeshType::FaceIterator tfi;