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:
authorAntony Riakiotakis <kalast@gmail.com>2015-07-29 13:52:03 +0300
committerAntony Riakiotakis <kalast@gmail.com>2015-07-29 13:52:03 +0300
commit8b84c5f9de32e42e835a15aa1ef05504d0a4c198 (patch)
treec2f9253aee1185379cee3909a2487c7f851c9ac2 /source/blender/makesdna/DNA_screen_types.h
parent18c0a15e1ebaa94177b848a2dc6ccc96a38dc5ed (diff)
Port optimization from gooseberry branch:
Treat scrubbing as animation. This is checked during various updates to avoid some costly calculations.
Diffstat (limited to 'source/blender/makesdna/DNA_screen_types.h')
-rw-r--r--source/blender/makesdna/DNA_screen_types.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_screen_types.h b/source/blender/makesdna/DNA_screen_types.h
index eb76c90c0fc..45b3aad92e4 100644
--- a/source/blender/makesdna/DNA_screen_types.h
+++ b/source/blender/makesdna/DNA_screen_types.h
@@ -68,7 +68,8 @@ typedef struct bScreen {
char do_draw_drag; /* notifier for dragging draw. */
char swap; /* indicator to survive swap-exchange systems */
char skip_handling; /* set to delay screen handling after switching back from maximized area */
- char pad[7];
+ char scrubbing; /* set when scrubbing to avoid some costly updates */
+ char pad[6];
short mainwin; /* screensize subwindow, for screenedges and global menus */
short subwinactive; /* active subwindow */