Fix EEVEE sculpt mask rendering
Reviewed By: jbakker Differential Revision: https://developer.blender.org/D6080
This commit is contained in:
parent
90fd75c869
commit
be2bdaf6aa
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue