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>2007-01-12 05:34:47 +0300
committerJoshua Leung <aligorith@gmail.com>2007-01-12 05:34:47 +0300
commitbff2dcc6d87e6fac87c787979faff82aa5546648 (patch)
tree1c7100222e8e10d506f22ef6d27202204704d8c8 /source/blender/src/header_nla.c
parent7bcfc5be3fbc421b3151e16a1b5cd0d5da48c2fd (diff)
== NLA Editor ==
Minor workflow tweak - Add New Empty Action as New Action Strip. Hotkey: Shift N. Menu Entry: 'Strip' menu Creates a new action, and adds it as an action strip at the bottom of the list nla-strips for an object. Useful for creating additional strips to correct poses of prior strips.
Diffstat (limited to 'source/blender/src/header_nla.c')
-rw-r--r--source/blender/src/header_nla.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/source/blender/src/header_nla.c b/source/blender/src/header_nla.c
index c14fea48dc6..2d33ee098de 100644
--- a/source/blender/src/header_nla.c
+++ b/source/blender/src/header_nla.c
@@ -318,6 +318,9 @@ static void do_nla_stripmenu(void *arg, int event)
case 9: /* reset start/end of action */
reset_action_strips(2);
break;
+ case 10: /* add new action as new action strip */
+ add_empty_nlablock();
+ break;
}
}
@@ -331,13 +334,15 @@ static uiBlock *nla_stripmenu(void *arg_unused)
uiDefIconTextBut(block, BUTM, 1, ICON_BLANK1, "Strip Properties...|N", 0, yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 0, 0, "");
uiDefIconTextBlockBut(block, nla_strip_transformmenu, NULL, ICON_RIGHTARROW_THIN, "Transform", 0, yco-=20, 120, 20, "");
+ uiDefIconTextBlockBut(block, nla_strip_snapmenu, NULL, ICON_RIGHTARROW_THIN, "Snap To Frame", 0, yco-=20, 120, 20, "");
+
uiDefIconTextBut(block, BUTM, 1, ICON_BLANK1, "Reset Strip Size|Alt S", 0, yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 0, 8, "");
uiDefIconTextBut(block, BUTM, 1, ICON_BLANK1, "Reset Action Start/End|Alt S", 0, yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 0, 9, "");
- uiDefIconTextBlockBut(block, nla_strip_snapmenu, NULL, ICON_RIGHTARROW_THIN, "Snap To Frame", 0, yco-=20, 120, 20, "");
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 Blank Action Strip|Shift N", 0, yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 0, 10, "");
uiDefIconTextBut(block, BUTM, 1, ICON_BLANK1, "Convert Action to NLA Strip|C", 0, yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 0, 5, "");
uiDefIconTextBut(block, BUTM, 1, ICON_BLANK1, "Duplicate|Shift D", 0, yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 0, 2, "");