diff options
author | Joshua Leung <aligorith@gmail.com> | 2014-05-05 06:15:28 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2014-05-05 06:16:41 +0400 |
commit | 6d2c23bf70c550ead52a5e518d9e4846c5d3f23f (patch) | |
tree | 4febc7ff4d51d79c83c02e946e98d7ac936fbe7f /source/blender/editors/space_nla/nla_intern.h | |
parent | 4e0aa0e7f23fae72c469262d4aab751fc6d642de (diff) |
NLA Pushdown Operator: Active animdata option + More error handling
* If channel_index = -1, the pushdown operator will try to use the active AnimData
block. To see which one this will be, check the properties (NKEY) region in NLA Editor.
* Added more detailed error handling for the various cases where things are not
in a valid state for pushing down an action. This is notably to stop scripters
from putting the NLA into an inconsistent state.
Diffstat (limited to 'source/blender/editors/space_nla/nla_intern.h')
-rw-r--r-- | source/blender/editors/space_nla/nla_intern.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/space_nla/nla_intern.h b/source/blender/editors/space_nla/nla_intern.h index b89d816cfad..766ae28da6f 100644 --- a/source/blender/editors/space_nla/nla_intern.h +++ b/source/blender/editors/space_nla/nla_intern.h @@ -41,6 +41,8 @@ ARegion *nla_has_buttons_region(ScrArea *sa); +bool nla_panel_context(const bContext *C, PointerRNA *adt_ptr, PointerRNA *nlt_ptr, PointerRNA *strip_ptr); + void nla_buttons_register(ARegionType *art); void NLA_OT_properties(wmOperatorType *ot); |