diff options
author | Joseph Eagar <joeedh@gmail.com> | 2021-10-07 14:11:49 +0300 |
---|---|---|
committer | Joseph Eagar <joeedh@gmail.com> | 2021-10-07 14:11:49 +0300 |
commit | 7fc11744e69aac2b87575c46132900eb95336088 (patch) | |
tree | 394f261e0c755a638c4dfe2b007c2c3f310c62a6 /source/blender/editors/sculpt_paint | |
parent | 87a36cba1a5ad9e8e8279e89d104184c8bb84593 (diff) |
Revert commit, turns out this isn't a bug?
Diffstat (limited to 'source/blender/editors/sculpt_paint')
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt_expand.c | 7 |
1 files changed, 1 insertions, 6 deletions
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) { |