From e7e52f7cff3abf36f3a3a0b70c86db5c2ed86324 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Sun, 2 Jun 2019 02:14:56 +0200 Subject: 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. --- source/blender/editors/include/ED_screen.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/include') diff --git a/source/blender/editors/include/ED_screen.h b/source/blender/editors/include/ED_screen.h index a7a95a4a659..fc43144417a 100644 --- a/source/blender/editors/include/ED_screen.h +++ b/source/blender/editors/include/ED_screen.h @@ -73,7 +73,7 @@ void ED_region_pixelspace(struct ARegion *ar); void ED_region_update_rect(struct ARegion *ar); void ED_region_init(struct ARegion *ar); void ED_region_tag_redraw(struct ARegion *ar); -void ED_region_tag_redraw_partial(struct ARegion *ar, const struct rcti *rct); +void ED_region_tag_redraw_partial(struct ARegion *ar, const struct rcti *rct, bool rebuild); void ED_region_tag_redraw_overlay(struct ARegion *ar); void ED_region_tag_redraw_no_rebuild(struct ARegion *ar); void ED_region_tag_refresh_ui(struct ARegion *ar); -- cgit v1.2.3