BUG: cellSetOption: allow geometric selection update (fixes #3161)

This commit is contained in:
Kutalmis Bercin 2024-06-05 12:02:24 +01:00
parent 755d354f69
commit eea442e209

View File

@ -408,9 +408,13 @@ bool Foam::fv::cellSetOption::isActive()
// Report new volume (if changed) // Report new volume (if changed)
setVol(); setVol();
} }
else if (selectionMode_ == smMovingPoints) else if
(
selectionMode_ == smMovingPoints
|| selectionMode_ == smGeometric
)
{ {
// Update the cell selection if it moves // Update the cell selection even if mesh is not moving
setCellSelection(); setCellSelection();
setVol(); setVol();
} }