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:
authorTon Roosendaal <ton@blender.org>2006-09-12 12:29:50 +0400
committerTon Roosendaal <ton@blender.org>2006-09-12 12:29:50 +0400
commite8111bd39d1d8c389dfdc65d9dd68fc5b23fa51e (patch)
tree2310cfbccacd21502818f5059e61c2a6270b7b7e /source/blender/src/header_action.c
parentc3b9a550a3af6c7c226be66b622a19a05ebfceca (diff)
Patch 4981 (Tom Musgrave, revised)
New option: "Select Collumn" in Action editor. This selects all 'keys' on the same time, based on already existing selection. Works for Actions as well as Shape Keys. Hotkey K.
Diffstat (limited to 'source/blender/src/header_action.c')
-rw-r--r--source/blender/src/header_action.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/source/blender/src/header_action.c b/source/blender/src/header_action.c
index e6b4442bdd5..e5fc8335721 100644
--- a/source/blender/src/header_action.c
+++ b/source/blender/src/header_action.c
@@ -87,6 +87,7 @@
#define ACTMENU_SEL_BORDER 0
#define ACTMENU_SEL_ALL_KEYS 1
#define ACTMENU_SEL_ALL_CHAN 2
+#define ACTMENU_SEL_COLLUMN 3
#define ACTMENU_KEY_DUPLICATE 0
#define ACTMENU_KEY_DELETE 1
@@ -356,6 +357,10 @@ static void do_action_selectmenu(void *arg, int event)
allqueue(REDRAWNLA, 0);
allqueue (REDRAWIPO, 0);
break;
+
+ case ACTMENU_SEL_COLLUMN:
+ addqueue (curarea->win, KKEY, 1);
+ break;
}
}
@@ -382,7 +387,12 @@ static uiBlock *action_selectmenu(void *arg_unused)
"Select/Deselect All Channels", 0, yco-=20,
menuwidth, 19, NULL, 0.0, 0.0, 0,
ACTMENU_SEL_ALL_CHAN, "");
-
+ uiDefIconTextBut(block, BUTM, 1, ICON_BLANK1,
+ "Select Collumn|K", 0, yco-=20,
+ menuwidth, 19, NULL, 0.0, 0.0, 0,
+ ACTMENU_SEL_COLLUMN, "");
+
+
if(curarea->headertype==HEADERTOP) {
uiBlockSetDirection(block, UI_DOWN);
}