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
Notes: blender-bot 2023-02-14 09:29:42 +01:00
Referenced by issue #56057, Blender 2.8 alpha Sculpt performance
1 changed files with 2 additions and 0 deletions

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