Fix EEVEE sculpt mask rendering

Reviewed By: jbakker

Differential Revision: https://developer.blender.org/D6080
This commit is contained in:
Pablo Dobarro 2019-10-16 16:36:28 +02:00
parent 90fd75c869
commit be2bdaf6aa
1 changed files with 1 additions and 1 deletions

View File

@ -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);