Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2018-07-03 13:28:45 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2018-07-03 13:29:49 +0300
commit268bcb8027161ea5fe367c2df6cf2e94450eb50a (patch)
tree7f2c72c43e4d561f1a338e753705dce0de5a7191 /source/blender/editors/sculpt_paint
parentcf2096cfd93f55b7e0fb096c3ca74946c83b32f1 (diff)
Sculpt: Fix ghosting artifacts when sculpting in workbench engine
Diffstat (limited to 'source/blender/editors/sculpt_paint')
-rw-r--r--source/blender/editors/sculpt_paint/sculpt.c2
1 files changed, 2 insertions, 0 deletions
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);