From a65010f34d2498d82b1bc81669d2533c7f5e548d Mon Sep 17 00:00:00 2001 From: alemuntoni Date: Thu, 12 Nov 2020 18:55:28 +0100 Subject: [PATCH] enable required VFAdjacency on tmp mesh on SplitManifoldComponents --- vcg/complex/algorithms/clean.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vcg/complex/algorithms/clean.h b/vcg/complex/algorithms/clean.h index eb77faf8..a52c8d75 100644 --- a/vcg/complex/algorithms/clean.h +++ b/vcg/complex/algorithms/clean.h @@ -685,6 +685,8 @@ public: UpdateFlags::FaceClearS(m); MeshType tmpMesh; + tmpMesh.vert.EnableVFAdjacency(); + tmpMesh.face.EnableVFAdjacency(); size_t selCnt=0;