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:
authorJoshua Leung <aligorith@gmail.com>2008-03-04 14:29:32 +0300
committerJoshua Leung <aligorith@gmail.com>2008-03-04 14:29:32 +0300
commitb2e6520d6e025aaf3f83eb7803bdb412a1673b50 (patch)
tree81e83fc061c49aee6bdbd1b4872d76d519c998b9 /source/blender/src/header_action.c
parent6122ee1b21f7e8b8a7509e868e1db813f5fbd72b (diff)
Action Editor - malefico feature request:
Show Selected Action-Channels hidden in groups. Use the hotkey Shift ~ to do so. The name of this feature needs reviewing...
Diffstat (limited to 'source/blender/src/header_action.c')
-rw-r--r--source/blender/src/header_action.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/src/header_action.c b/source/blender/src/header_action.c
index 254903b184e..a31f92c4b68 100644
--- a/source/blender/src/header_action.c
+++ b/source/blender/src/header_action.c
@@ -124,6 +124,7 @@ enum {
ACTMENU_CHANNELS_OPENLEVELS = 0,
ACTMENU_CHANNELS_CLOSELEVELS,
ACTMENU_CHANNELS_EXPANDALL,
+ ACTMENU_CHANNELS_SHOWACHANS,
ACTMENU_CHANNELS_DELETE
};
@@ -844,6 +845,9 @@ static void do_action_channelmenu(void *arg, int event)
case ACTMENU_CHANNELS_EXPANDALL: /* Expands all channels */
expand_all_action();
break;
+ case ACTMENU_CHANNELS_SHOWACHANS: /* Unfold groups that are hiding selected achans */
+ expand_obscuregroups_action();
+ break;
case ACTMENU_CHANNELS_DELETE: /* Deletes selected channels */
delete_action_channels();
break;
@@ -886,6 +890,10 @@ static uiBlock *action_channelmenu(void *arg_unused)
menuwidth, 19, NULL, 0.0, 0.0, 0, ACTMENU_CHANNELS_EXPANDALL, "");
uiDefIconTextBut(block, BUTM, 1, ICON_BLANK1,
+ "Show Group-Hidden Channels|Shift ~", 0, yco-=20,
+ menuwidth, 19, NULL, 0.0, 0.0, 0, ACTMENU_CHANNELS_SHOWACHANS, "");
+
+ uiDefIconTextBut(block, BUTM, 1, ICON_BLANK1,
"Expand One Level|Ctrl NumPad+", 0, yco-=20,
menuwidth, 19, NULL, 0.0, 0.0, 0, ACTMENU_CHANNELS_OPENLEVELS, "");