diff options
author | Joshua Leung <aligorith@gmail.com> | 2008-04-28 16:26:41 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2008-04-28 16:26:41 +0400 |
commit | 514580d39ddfcf682f5fd57342a4f2c5098d9538 (patch) | |
tree | 84b9e3227213418e57dceb87e0cb645a12926fd7 /source/blender/src/header_action.c | |
parent | 3fcc7095e876f8f3f9a857d02e72c36f36ba7846 (diff) |
Bugfix:
Restored Border-Select in the Action Editor for Action Channels. Was removed when doing the recode and never added back, hence a regression.
Diffstat (limited to 'source/blender/src/header_action.c')
-rw-r--r-- | source/blender/src/header_action.c | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/source/blender/src/header_action.c b/source/blender/src/header_action.c index ed3d6a36d0e..2ed5107da29 100644 --- a/source/blender/src/header_action.c +++ b/source/blender/src/header_action.c @@ -100,6 +100,7 @@ enum { enum { ACTMENU_SEL_BORDER = 0, + ACTMENU_SEL_BORDERC, ACTMENU_SEL_BORDERM, ACTMENU_SEL_ALL_KEYS, ACTMENU_SEL_ALL_CHAN, @@ -550,10 +551,14 @@ static void do_action_selectmenu(void *arg, int event) borderselect_action(); break; + case ACTMENU_SEL_BORDERC: /* Border Select */ + borderselect_actionchannels(); + break; + case ACTMENU_SEL_BORDERM: /* Border Select */ borderselect_markers(); break; - + case ACTMENU_SEL_ALL_KEYS: /* Select/Deselect All Keys */ deselect_action_keys(1, 1); BIF_undo_push("(De)Select Keys"); @@ -561,7 +566,7 @@ static void do_action_selectmenu(void *arg, int event) allqueue(REDRAWNLA, 0); allqueue(REDRAWIPO, 0); break; - + case ACTMENU_SEL_ALL_CHAN: /* Select/Deselect All Channels */ deselect_action_channels(1); BIF_undo_push("(De)Select Action Channels"); @@ -624,6 +629,10 @@ static uiBlock *action_selectmenu(void *arg_unused) menuwidth, 19, NULL, 0.0, 0.0, 0, ACTMENU_SEL_BORDER, ""); uiDefIconTextBut(block, BUTM, 1, ICON_BLANK1, + "Border Select Channels|B", 0, yco-=20, + menuwidth, 19, NULL, 0.0, 0.0, 0, + ACTMENU_SEL_BORDERC, ""); + uiDefIconTextBut(block, BUTM, 1, ICON_BLANK1, "Border Select Markers|Ctrl B", 0, yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 0, ACTMENU_SEL_BORDERM, ""); |