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-10-22 13:07:19 +0400
committerJoshua Leung <aligorith@gmail.com>2009-10-22 13:07:19 +0400
commit5777c624a54c4d834ec755a92079b504f04035e8 (patch)
tree849650b13e6a82a59f480d6eb79c7dbd98a0a5b0 /source/blender/editors/animation/anim_filter.c
parentc9092a6738d8f1dbf9fc76330d506771af4f90bb (diff)
Animation Editors: Menu Tweaks
* Submenus displaying the options available for certain operators now will now show the hotkey for the operator on the menu entries. * Added an option for mirroring keyframes in the Graph Editor which makes use of the new cursor
Diffstat (limited to 'source/blender/editors/animation/anim_filter.c')
-rw-r--r--source/blender/editors/animation/anim_filter.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/source/blender/editors/animation/anim_filter.c b/source/blender/editors/animation/anim_filter.c
index 7414d2fdf85..8c4f10fb222 100644
--- a/source/blender/editors/animation/anim_filter.c
+++ b/source/blender/editors/animation/anim_filter.c
@@ -373,9 +373,18 @@ short ANIM_animdata_get_context (const bContext *C, bAnimContext *ac)
*
* - id: ID block which should have an AnimData pointer following it immediately, to use
* - adtOk: line or block of code to execute for AnimData-blocks case (usually ANIMDATA_ADD_ANIMDATA)
- * - nlaOk: line or block of code to execute for NLA case
+ * - nlaOk: line or block of code to execute for NLA tracks+strips case
* - driversOk: line or block of code to execute for Drivers case
* - keysOk: line or block of code for Keyframes case
+ *
+ * The checks for the various cases are as follows:
+ * 0) top level: checks for animdata and also that all the F-Curves for the block will be visible
+ * 1) animdata check: for filtering animdata blocks only
+ * 2A) nla tracks: include animdata block's data as there are NLA tracks+strips there
+ * 2B) actions to convert to nla: include animdata block's data as there is an action that can be
+ * converted to a new NLA strip, and the filtering options allow this
+ * 3) drivers: include drivers from animdata block (for Drivers mode in Graph Editor)
+ * 4) normal keyframes: only when there is an active action
*/
#define ANIMDATA_FILTER_CASES(id, adtOk, nlaOk, driversOk, keysOk) \
{\