[Bf-blender-cvs] [268bcb80271] blender2.8: Sculpt: Fix ghosting artifacts when sculpting in workbench engine
Sergey Sharybin
noreply at git.blender.org
Tue Jul 3 12:29:58 CEST 2018
Commit: 268bcb8027161ea5fe367c2df6cf2e94450eb50a
Author: Sergey Sharybin
Date: Tue Jul 3 12:28:45 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB268bcb8027161ea5fe367c2df6cf2e94450eb50a
Sculpt: Fix ghosting artifacts when sculpting in workbench engine
===================================================================
M source/blender/editors/sculpt_paint/sculpt.c
===================================================================
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);
More information about the Bf-blender-cvs
mailing list