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-14 12:23:38 +0400
committerTon Roosendaal <ton@blender.org>2006-09-14 12:23:38 +0400
commit6283b5523acc1f8c1da7f027176c69425a4bf7c6 (patch)
treedfbcf14d8a09974f27a675a538089a8401f5d9bb /source/blender/src/header_nla.c
parentf0614ad8117052ca358bbaa909517923e934931b (diff)
New: added SHIFT+A "Add Action Strip" menu to NLA editor. This gives a menu
with choices of Actions to be added.
Diffstat (limited to 'source/blender/src/header_nla.c')
-rw-r--r--source/blender/src/header_nla.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/src/header_nla.c b/source/blender/src/header_nla.c
index d193f382bba..03b0558dfca 100644
--- a/source/blender/src/header_nla.c
+++ b/source/blender/src/header_nla.c
@@ -250,6 +250,7 @@ static void do_nla_stripmenu(void *arg, int event)
add_blockhandler(curarea, NLA_HANDLER_PROPERTIES, UI_PNL_UNSTOW);
break;
case 1: /* Add Action Strip */
+ add_nlablock();
break;
case 2: /* Duplicate */
duplicate_nlachannel_keys();
@@ -295,7 +296,7 @@ static uiBlock *nla_stripmenu(void *arg_unused)
uiDefBut(block, SEPR, 0, "", 0, yco-=6, menuwidth, 6, NULL, 0.0, 0.0, 0, 0, "");
- // uiDefIconTextBut(block, BUTM, 1, ICON_BLANK1, "Add Action Strip|Shift A", 0, yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 0, 1, "");
+ uiDefIconTextBut(block, BUTM, 1, ICON_BLANK1, "Add Action Strip|Shift A", 0, yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 0, 1, "");
uiDefIconTextBut(block, BUTM, 1, ICON_BLANK1, "Duplicate|Shift D", 0, yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 0, 2, "");
uiDefIconTextBut(block, BUTM, 1, ICON_BLANK1, "Delete|X", 0, yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 0, 3, "");