Sculpt: Fix ghosting artifacts when sculpting in workbench engine

This commit is contained in:
Sergey Sharybin
2018-07-03 12:28:45 +02:00
parent cf2096cfd9
commit 268bcb8027

View File

@@ -4870,6 +4870,8 @@ static void sculpt_flush_update(bContext *C)
if (mmd)
multires_mark_as_modified(ob, MULTIRES_COORDS_MODIFIED);
DEG_id_tag_update(&ob->id, DEG_TAG_SHADING_UPDATE);
if (ss->kb || ss->modifiers_active) {
DEG_id_tag_update(&ob->id, OB_RECALC_DATA);
ED_region_tag_redraw(ar);