Fix #27902: autokey bones with individual origins transform not working.
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Fri, 8 Jul 2011 11:43:35 +0000 (11:43 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Fri, 8 Jul 2011 11:43:35 +0000 (11:43 +0000)
source/blender/editors/transform/transform_conversions.c

index d6095184a69926fbc735b9c8ddbb7191a8f237ec..de8eda78d6372db74ed25ab42af098807d134b55 100644 (file)
@@ -4995,6 +4995,8 @@ void special_aftertrans_update(bContext *C, TransInfo *t)
 
                /* automatic inserting of keys and unkeyed tagging - only if transform wasn't cancelled (or TFM_DUMMY) */
                if (!cancelled && (t->mode != TFM_DUMMY)) {
+                       /* set BONE_TRANSFORM flags, they get changed by manipulator draw */
+                       count_set_pose_transflags(&t->mode, t->around, ob);
                        autokeyframe_pose_cb_func(C, t->scene, (View3D *)t->view, ob, t->mode, targetless_ik);
                        DAG_id_tag_update(&ob->id, OB_RECALC_DATA);
                }