Sculpt: Fix T103923: Expand face sets now taking visibility into account

The code was never ported from the old system of encoding visibility
as negative face set values.
This commit is contained in:
Joseph Eagar
2023-01-19 18:04:34 -08:00
parent 4fa6ce0973
commit da21e035d3

View File

@@ -256,7 +256,7 @@ static bool sculpt_expand_state_get(SculptSession *ss,
*/
static bool sculpt_expand_face_state_get(SculptSession *ss, ExpandCache *expand_cache, const int f)
{
if (expand_cache->original_face_sets[f] <= 0) {
if (ss->hide_poly && ss->hide_poly[f]) {
return false;
}