diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-06-02 03:14:56 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-06-02 13:47:52 +0300 |
commit | e7e52f7cff3abf36f3a3a0b70c86db5c2ed86324 (patch) | |
tree | 17014997161c2343cbe2148d7a7b9ef320d5e900 /source/blender/editors/sculpt_paint/paint_vertex.c | |
parent | 114973584d49daa2020345970b696878ebc49cf7 (diff) |
Fix T65185: Cycles viewport render no refreshing overlays properly
Don't rely on detecting view matrix changes to refresh depth buffer, instead
detect redraw tags coming from progressive render samples.
Diffstat (limited to 'source/blender/editors/sculpt_paint/paint_vertex.c')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_vertex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_vertex.c b/source/blender/editors/sculpt_paint/paint_vertex.c index 439c237cd57..7dfe6f4c137 100644 --- a/source/blender/editors/sculpt_paint/paint_vertex.c +++ b/source/blender/editors/sculpt_paint/paint_vertex.c @@ -2336,7 +2336,7 @@ static void wpaint_stroke_update_step(bContext *C, struct PaintStroke *stroke, P r.ymin += vc->ar->winrct.ymin - 2; r.ymax += vc->ar->winrct.ymin + 2; } - ED_region_tag_redraw_partial(vc->ar, &r); + ED_region_tag_redraw_partial(vc->ar, &r, true); } static void wpaint_stroke_done(const bContext *C, struct PaintStroke *stroke) |