Merging r38220 through r38236 from trunk into soc-2011-tomato
[blender.git] / source / blender / editors / transform / transform_conversions.c
index 1c24f065d2623f8f7f0d5088c2ebed618694944d..24abb6a0bc25ab74533e25059e74f865bf773e36 100644 (file)
@@ -5002,6 +5002,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);
                }