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>2009-06-21 07:02:40 +0400
committerJoshua Leung <aligorith@gmail.com>2009-06-21 07:02:40 +0400
commited316ad8e967b85a79bb67b79ffc5e3cd90820a5 (patch)
treedc7b9b16fa06d6d4cf9b91c52f1b23ba0f6329e7 /source/blender/editors/space_nla/nla_intern.h
parent6bca54aac17212f9c40b0a54a50a6c39e0817815 (diff)
NLA SoC: Fixes for Operator Poll Callbacks
* Clicking on NLA tracks while in TweakMode now works so that channels can be muted/protected/expanded as per usual. However, they cannot be selected, as changing the selection state can interfere with TweakMode state changes * Operators for animation channel-lists now use proper poll callbacks, which also take into account TweakMode where appropriate (i.e. all selection operators are now allowed to operate in NLA while in TweakMode, and all other operators will only work in Animation Editors) * Action Editor operators now use the poll callback for Action Editors/DopeSheet instead of the generic active-araa one.
Diffstat (limited to 'source/blender/editors/space_nla/nla_intern.h')
-rw-r--r--source/blender/editors/space_nla/nla_intern.h2
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 1237542172f..79ee5396f36 100644
--- a/source/blender/editors/space_nla/nla_intern.h
+++ b/source/blender/editors/space_nla/nla_intern.h
@@ -113,6 +113,8 @@ void NLA_OT_add_tracks(wmOperatorType *ot);
int nlaop_poll_tweakmode_off(bContext *C);
int nlaop_poll_tweakmode_on (bContext *C);
+short nlaedit_is_tweakmode_on(bAnimContext *ac);
+
/* --- */
void nla_operatortypes(void);