From f2731fccff7913ae0e4eeb64ca11f75f357c35f8 Mon Sep 17 00:00:00 2001 From: Paolo Cignoni Date: Sun, 31 Jul 2016 12:37:51 +0200 Subject: [PATCH] Removed useless preserveSelection flag MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit it is meaningless to have this option in a function that start from current selection… --- vcg/complex/algorithms/update/selection.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/vcg/complex/algorithms/update/selection.h b/vcg/complex/algorithms/update/selection.h index 6f5d0528..ef97bcaa 100644 --- a/vcg/complex/algorithms/update/selection.h +++ b/vcg/complex/algorithms/update/selection.h @@ -441,9 +441,8 @@ static size_t FaceOutOfRangeEdge(MeshType &m, ScalarType MinEdgeThr, ScalarType } /// \brief This function expand current selection to cover the whole connected component. -static size_t FaceConnectedFF(MeshType &m, bool preserveSelection=false) +static size_t FaceConnectedFF(MeshType &m) { - if(!preserveSelection) FaceClear(m); // it also assumes that the FF adjacency is well computed. RequireFFAdjacency(m); UpdateFlags::FaceClearV(m);