From 97d14f173fb10f5f3df20f77b453ec02ee126888 Mon Sep 17 00:00:00 2001 From: nicopietroni Date: Thu, 3 Oct 2013 08:21:08 +0000 Subject: [PATCH] added clear V flag at the beginning of ImportFromTriMesh function --- vcg/complex/algorithms/polygon_support.h | 1 + 1 file changed, 1 insertion(+) diff --git a/vcg/complex/algorithms/polygon_support.h b/vcg/complex/algorithms/polygon_support.h index dc08b2bb..b4d293f9 100644 --- a/vcg/complex/algorithms/polygon_support.h +++ b/vcg/complex/algorithms/polygon_support.h @@ -112,6 +112,7 @@ namespace tri { **/ static void ImportFromTriMesh( PolyMeshType & pm, TriMeshType & tm){ + vcg::tri::UpdateFlags::FaceClearV(tm); // the vertices are the same, simply import them int cnt = 0; typename TriMeshType ::ConstVertexIterator tvi;