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@pandora.be>2010-06-23 13:58:32 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2010-06-23 13:58:32 +0400
commit16b15961a8d7f0a8f831f726eba10785322171ed (patch)
treee1fe525683e6bae7230285d4a5b341ce8a32428d /source/blender/makesdna/DNA_screen_types.h
parentd200243a5ca9d9cf17fb5ad1b4df711698b82b1d (diff)
Fix #21470: changing brush settings redraws the 3d view unecessarily,
added ED_region_tag_redraw_overlay to only redo overlay drawing, which in case of triple buffer is much faster.
Diffstat (limited to 'source/blender/makesdna/DNA_screen_types.h')
-rw-r--r--source/blender/makesdna/DNA_screen_types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_screen_types.h b/source/blender/makesdna/DNA_screen_types.h
index 6d73c261f23..a811fd9c014 100644
--- a/source/blender/makesdna/DNA_screen_types.h
+++ b/source/blender/makesdna/DNA_screen_types.h
@@ -152,7 +152,9 @@ typedef struct ARegion {
short sizex, sizey; /* current split size in pixels (if zero it uses regiontype) */
short do_draw; /* private, cached notifier events */
+ short do_draw_overlay; /* private, cached notifier events */
short swap; /* private, indicator to survive swap-exchange */
+ short pad[3];
struct ARegionType *type; /* callbacks for this region type */