diff options
author | Joshua Leung <aligorith@gmail.com> | 2010-09-30 15:27:47 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2010-09-30 15:27:47 +0400 |
commit | 8a5c516864da4081222c190381c2e54b6073c69c (patch) | |
tree | d14128aec5e49392cd9fef5b83fdd38def9338ca /source/blender/editors/armature/poselib.c | |
parent | 81b6d308a771405ef326b1e4cebbc3359e830a6c (diff) |
Bugfix #23707: Autokey Available is ignored on a Clear Transform
Second attempt at fixing. Last time, I missed the case where the "Only Insert Available" userpref was enabled, which was why the bugreport was reopened. Hopefully I haven't missed anything else...
Diffstat (limited to 'source/blender/editors/armature/poselib.c')
-rw-r--r-- | source/blender/editors/armature/poselib.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/armature/poselib.c b/source/blender/editors/armature/poselib.c index f490158424c..5ead0d42cd2 100644 --- a/source/blender/editors/armature/poselib.c +++ b/source/blender/editors/armature/poselib.c @@ -784,6 +784,8 @@ static void poselib_keytag_pose (bContext *C, Scene *scene, tPoseLib_PreviewData if (IS_AUTOKEY_FLAG(ONLYKEYINGSET) && (scene->active_keyingset)) ks = ANIM_scene_get_active_keyingset(scene); + else if (IS_AUTOKEY_FLAG(INSERTAVAIL)) + ks = ANIM_builtin_keyingset_get_named(NULL, "Available"); else ks = ANIM_builtin_keyingset_get_named(NULL, "LocRotScale"); |