From 4b6b27ea7029a3a79702f1ec8af480aaf473c4d3 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 17 Oct 2007 15:27:38 +0000 Subject: 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. --- source/blender/src/header_action.c | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) (limited to 'source/blender/src/header_action.c') 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) -- cgit v1.2.3