diff options
author | Pablo Dobarro <pablodp606@gmail.com> | 2019-10-16 17:36:28 +0300 |
---|---|---|
committer | Pablo Dobarro <pablodp606@gmail.com> | 2019-10-31 16:39:41 +0300 |
commit | be2bdaf6aab672feb1961e2b6a2fd09f979bba2e (patch) | |
tree | 88c36fd818f7247312b496ce8f2c81f5f9d72d56 | |
parent | 90fd75c869c01df27b68e0e2836aa3e4fdfcb429 (diff) |
Fix EEVEE sculpt mask rendering
Reviewed By: jbakker
Differential Revision: https://developer.blender.org/D6080
-rw-r--r-- | source/blender/draw/modes/sculpt_mode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/modes/sculpt_mode.c b/source/blender/draw/modes/sculpt_mode.c index 9749619cffe..f32eb3b73ba 100644 --- a/source/blender/draw/modes/sculpt_mode.c +++ b/source/blender/draw/modes/sculpt_mode.c @@ -157,7 +157,7 @@ static void SCULPT_cache_populate(void *vedata, Object *ob) if ((ob == draw_ctx->obact) && (BKE_sculptsession_use_pbvh_draw(ob, draw_ctx->v3d) || - ob->sculpt->deform_modifiers_active || ob->sculpt->shapekey_active)) { + !ob->sculpt->deform_modifiers_active || ob->sculpt->shapekey_active)) { PBVH *pbvh = ob->sculpt->pbvh; if (pbvh && pbvh_has_mask(pbvh)) { DRW_shgroup_call_sculpt(stl->g_data->mask_overlay_grp, ob, false, true, false); |