diff options
author | Joshua Leung <aligorith@gmail.com> | 2010-09-30 15:56:39 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2010-09-30 15:56:39 +0400 |
commit | d6ee8a0e4d10f3a5479ce2c94b403b2f59e5c523 (patch) | |
tree | bd4e5243141f2c7c335a97aee1b23b7e1329f14d /source/blender/editors/include/ED_keyframing.h | |
parent | e8465555cb18aa2d337accf5eb13e1d270af3424 (diff) |
Cleanup of Auto-Keyframing code:
Moved duplicated code out to a special new function so that this doesn't need to be copied all over for each transform op that needs this.
Diffstat (limited to 'source/blender/editors/include/ED_keyframing.h')
-rw-r--r-- | source/blender/editors/include/ED_keyframing.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/include/ED_keyframing.h b/source/blender/editors/include/ED_keyframing.h index fc5e3a43a62..8718d39dd18 100644 --- a/source/blender/editors/include/ED_keyframing.h +++ b/source/blender/editors/include/ED_keyframing.h @@ -193,6 +193,9 @@ struct KeyingSet *ANIM_scene_get_active_keyingset(struct Scene *scene); /* Get the index of the Keying Set provided, for the given Scene */ int ANIM_scene_get_keyingset_index(struct Scene *scene, struct KeyingSet *ks); +/* Get Keying Set to use for Auto-Keyframing some transforms */ +struct KeyingSet *ANIM_get_keyingset_for_autokeying(struct Scene *scene, const char *tranformKSName); + /* Create (and show) a menu containing all the Keying Sets which can be used in the current context */ void ANIM_keying_sets_menu_setup(struct bContext *C, char title[], char op_name[]); |