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:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2019-06-02 03:14:56 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2019-06-02 13:47:52 +0300
commite7e52f7cff3abf36f3a3a0b70c86db5c2ed86324 (patch)
tree17014997161c2343cbe2148d7a7b9ef320d5e900 /source/blender/makesdna/DNA_screen_types.h
parent114973584d49daa2020345970b696878ebc49cf7 (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/makesdna/DNA_screen_types.h')
-rw-r--r--source/blender/makesdna/DNA_screen_types.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_screen_types.h b/source/blender/makesdna/DNA_screen_types.h
index 8ac73d3ae7a..0319993631c 100644
--- a/source/blender/makesdna/DNA_screen_types.h
+++ b/source/blender/makesdna/DNA_screen_types.h
@@ -646,7 +646,9 @@ enum {
/* Redraw only part of region, for sculpting and painting to get smoother
* stroke painting on heavy meshes. */
RGN_DRAW_PARTIAL = 2,
- /* For outliner, to do faster redraw without rebuilding outliner tree. */
+ /* For outliner, to do faster redraw without rebuilding outliner tree.
+ * For 3D viewport, to display a new progressive render sample without
+ * while other buffers and overlays remain unchanged. */
RGN_DRAW_NO_REBUILD = 4,
/* Set while region is being drawn. */