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>2010-09-30 15:27:47 +0400
committerJoshua Leung <aligorith@gmail.com>2010-09-30 15:27:47 +0400
commit8a5c516864da4081222c190381c2e54b6073c69c (patch)
treed14128aec5e49392cd9fef5b83fdd38def9338ca /source/blender/editors/armature/poseobject.c
parent81b6d308a771405ef326b1e4cebbc3359e830a6c (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/poseobject.c')
-rw-r--r--source/blender/editors/armature/poseobject.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/armature/poseobject.c b/source/blender/editors/armature/poseobject.c
index b8c945f0d77..e2cf5876b51 100644
--- a/source/blender/editors/armature/poseobject.c
+++ b/source/blender/editors/armature/poseobject.c
@@ -1020,6 +1020,8 @@ static int pose_paste_exec (bContext *C, wmOperator *op)
*/
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");