diff options
author | Joshua Leung <aligorith@gmail.com> | 2013-06-09 17:13:47 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2013-06-09 17:13:47 +0400 |
commit | 05ffe37df404462d454273777b656ed06e407da3 (patch) | |
tree | 02d124c7f47f0235d96b7d65cf6d93b96c83e608 /source/blender/editors/space_nla/nla_intern.h | |
parent | 40f21d829da56fe9202641be38190ceb2673ff07 (diff) |
NLA Editor: It is now possible to add strips to AnimData blocks with no existing
tracks
As a convenience feature for those who are loading in action libraries and using
these to quickly block out things in the NLA editor, it is now possible to add
strips to AnimData blocks without first manually creating empty tracks to add
these strips to. Simply ensure that such empty AnimData blocks are selected
(Hint: click on the action line of the affected AnimData block to do so), and
try to add a strip normally.
Diffstat (limited to 'source/blender/editors/space_nla/nla_intern.h')
-rw-r--r-- | source/blender/editors/space_nla/nla_intern.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/source/blender/editors/space_nla/nla_intern.h b/source/blender/editors/space_nla/nla_intern.h index 98c66d70a75..e78187cef39 100644 --- a/source/blender/editors/space_nla/nla_intern.h +++ b/source/blender/editors/space_nla/nla_intern.h @@ -71,8 +71,7 @@ void NLA_OT_click_select(wmOperatorType *ot); /* **************************************** */ /* nla_edit.c */ -/* defines for snap strips - */ +/* defines for snap strips */ enum eNlaEdit_Snap_Mode { NLAEDIT_SNAP_CFRA = 1, NLAEDIT_SNAP_NEAREST_FRAME, @@ -122,6 +121,11 @@ void NLA_OT_fmodifier_paste(wmOperatorType *ot); /* **************************************** */ /* nla_channels.c */ +bool nlaedit_add_tracks_existing(bAnimContext *ac, bool above_sel); +bool nlaedit_add_tracks_empty(bAnimContext *ac); + +/* --- */ + void NLA_OT_channels_click(wmOperatorType *ot); void NLA_OT_tracks_add(wmOperatorType *ot); |