Removed useless preserveSelection flag
it is meaningless to have this option in a function that start from current selection…
This commit is contained in:
parent
36ff9b0c58
commit
f2731fccff
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue