fix for incorrect keying set names 'Scale' vs 'Scaling', where 'Scale' was hard coded...
authorCampbell Barton <ideasman42@gmail.com>
Sun, 23 Oct 2011 04:48:13 +0000 (04:48 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sun, 23 Oct 2011 04:48:13 +0000 (04:48 +0000)
- to be included in 2.60a.

source/blender/editors/transform/transform_conversions.c

index 879dc42..12e65e9 100644 (file)
@@ -4590,7 +4590,7 @@ void autokeyframe_ob_cb_func(bContext *C, Scene *scene, View3D *v3d, Object *ob,
                                ANIM_apply_keyingset(C, &dsources, NULL, ks, MODIFYKEY_MODE_INSERT, cfra);
                        }
                        if (doScale) {
-                               KeyingSet *ks= ANIM_builtin_keyingset_get_named(NULL, "Scale");
+                               KeyingSet *ks= ANIM_builtin_keyingset_get_named(NULL, "Scaling");
                                ANIM_apply_keyingset(C, &dsources, NULL, ks, MODIFYKEY_MODE_INSERT, cfra);
                        }
                }
@@ -4705,7 +4705,7 @@ void autokeyframe_pose_cb_func(bContext *C, Scene *scene, View3D *v3d, Object *o
                                                ANIM_apply_keyingset(C, &dsources, NULL, ks, MODIFYKEY_MODE_INSERT, cfra);
                                        }
                                        if (doScale) {
-                                               KeyingSet *ks= ANIM_builtin_keyingset_get_named(NULL, "Scale");
+                                               KeyingSet *ks= ANIM_builtin_keyingset_get_named(NULL, "Scaling");
                                                ANIM_apply_keyingset(C, &dsources, NULL, ks, MODIFYKEY_MODE_INSERT, cfra);
                                        }
                                }