diff options
author | Campbell Barton <ideasman42@gmail.com> | 2007-10-17 19:27:38 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2007-10-17 19:27:38 +0400 |
commit | 4b6b27ea7029a3a79702f1ec8af480aaf473c4d3 (patch) | |
tree | 1081c78b8b3f60409157dcc34aee174e4960bedb /source/blender/src/header_action.c | |
parent | 8bb97b6efa90ca62289d5798890e55a12f34b638 (diff) |
markers in the sequencer
- added a new redraw type - REDRAWMARKER, at the moment this draws the same windows as REDRAWANIM, but this may not always be true, and it is more explicit whats
happening, This replaced 5 or so draw calls in quite a few places.
Diffstat (limited to 'source/blender/src/header_action.c')
-rw-r--r-- | source/blender/src/header_action.c | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/source/blender/src/header_action.c b/source/blender/src/header_action.c index 71aac0e81bb..a305607faad 100644 --- a/source/blender/src/header_action.c +++ b/source/blender/src/header_action.c @@ -499,11 +499,7 @@ static void do_action_selectmenu(void *arg, int event) case ACTMENU_SEL_ALL_MARKERS: /* select/deselect all markers */ deselect_markers(1, 0); - allqueue(REDRAWTIME, 0); - allqueue(REDRAWIPO, 0); - allqueue(REDRAWACTION, 0); - allqueue(REDRAWNLA, 0); - allqueue(REDRAWSOUND, 0); + allqueue(REDRAWMARKER, 0); break; case ACTMENU_SEL_INVERSE_KEYS: /* invert selection status of keys */ @@ -515,11 +511,7 @@ static void do_action_selectmenu(void *arg, int event) case ACTMENU_SEL_INVERSE_MARKERS: /* invert selection of markers */ deselect_markers(0, 2); - allqueue(REDRAWTIME, 0); - allqueue(REDRAWIPO, 0); - allqueue(REDRAWACTION, 0); - allqueue(REDRAWNLA, 0); - allqueue(REDRAWSOUND, 0); + allqueue(REDRAWMARKER, 0); break; } } @@ -1062,11 +1054,7 @@ static void do_action_markermenu(void *arg, int event) break; } - allqueue(REDRAWTIME, 0); - allqueue(REDRAWIPO, 0); - allqueue(REDRAWACTION, 0); - allqueue(REDRAWNLA, 0); - allqueue(REDRAWSOUND, 0); + allqueue(REDRAWMARKER, 0); } static uiBlock *action_markermenu(void *arg_unused) |