From 7fc11744e69aac2b87575c46132900eb95336088 Mon Sep 17 00:00:00 2001 From: Joseph Eagar Date: Thu, 7 Oct 2021 04:11:49 -0700 Subject: Revert commit, turns out this isn't a bug? --- source/blender/editors/sculpt_paint/sculpt_expand.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'source/blender/editors/sculpt_paint') diff --git a/source/blender/editors/sculpt_paint/sculpt_expand.c b/source/blender/editors/sculpt_paint/sculpt_expand.c index 34da7daed65..40874375772 100644 --- a/source/blender/editors/sculpt_paint/sculpt_expand.c +++ b/source/blender/editors/sculpt_paint/sculpt_expand.c @@ -1243,12 +1243,7 @@ static void sculpt_expand_mask_update_task_cb(void *__restrict userdata, } if (expand_cache->preserve) { - if (expand_cache->invert) { - new_mask = min_ff(new_mask, expand_cache->original_mask[vd.index]); - } - else { - new_mask = max_ff(new_mask, expand_cache->original_mask[vd.index]); - } + new_mask = max_ff(new_mask, expand_cache->original_mask[vd.index]); } if (new_mask == initial_mask) { -- cgit v1.2.3