From 268bcb8027161ea5fe367c2df6cf2e94450eb50a Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Tue, 3 Jul 2018 12:28:45 +0200 Subject: Sculpt: Fix ghosting artifacts when sculpting in workbench engine --- source/blender/editors/sculpt_paint/sculpt.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/editors/sculpt_paint') diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c index bb2000d1651..946757d5d20 100644 --- a/source/blender/editors/sculpt_paint/sculpt.c +++ b/source/blender/editors/sculpt_paint/sculpt.c @@ -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); -- cgit v1.2.3