Removed useless preserveSelection flag

it is meaningless to have this option in a function that start from
current selection…
This commit is contained in:
Paolo Cignoni 2016-07-31 12:37:51 +02:00
parent 36ff9b0c58
commit f2731fccff
1 changed files with 1 additions and 2 deletions

View File

@ -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<MeshType>::FaceClearV(m);