diff options
author | Joshua Leung <aligorith@gmail.com> | 2009-02-20 08:42:09 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2009-02-20 08:42:09 +0300 |
commit | 72e99d918215ed549a84e360530fc99d1caf56a1 (patch) | |
tree | 057964a60409668339dfe38141106486b90fafae /source/blender/editors/include/ED_keyframing.h | |
parent | 8e41a21607231b733ef0f5469be90ca4715e9afa (diff) |
KeyingSets: Added two operators which wrap the internal (blenkernel) KeyingSets API functions
These operators - ANIM_OT_keyingset_add_new() and ANIM_OT_keyingset_add_destination() - are designed for use from PyAPI or through some other means, and as such, have not been assigned any hotkeys.
They should only be used when all the relevant settings can be supplied to them, which in ideal circumstances would be through some script used by a rigger to define all the necessary Keying Sets for their rig for example.
Whether we will be building many of the utilities for the PyAPI like this remains to be seen.
Note: the second one doesn't work yet, as there are problems with accessing certain operator props.
Diffstat (limited to 'source/blender/editors/include/ED_keyframing.h')
-rw-r--r-- | source/blender/editors/include/ED_keyframing.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/editors/include/ED_keyframing.h b/source/blender/editors/include/ED_keyframing.h index 78ba65d9814..b2846fc0bd9 100644 --- a/source/blender/editors/include/ED_keyframing.h +++ b/source/blender/editors/include/ED_keyframing.h @@ -69,6 +69,13 @@ short deletekey(struct ID *id, const char group[], const char rna_path[], int ar /* Generate menu of KeyingSets */ char *ANIM_build_keyingsets_menu(struct ListBase *list, short for_edit); +/* KeyingSet Editing Operators: + * These can add a new KeyingSet and/or add 'destinations' to the KeyingSets, + * acting as a means by which they can be added outside the Outliner. + */ +void ANIM_OT_keyingset_add_new(struct wmOperatorType *ot); +void ANIM_OT_keyingset_add_destination(struct wmOperatorType *ot); + /* Main Keyframe Management operators: * These handle keyframes management from various spaces. They only make use of * Keying Sets. |