Cleanup: moar G.main removal from BKE area.
[blender.git] / source / blender / editors / transform / transform_conversions.c
index 606ffa657cec40b94b0fec03715cfaa75e22f569..767ac17f1bf8c8a407df3e109f470d96c6204d3e 100644 (file)
@@ -6025,7 +6025,7 @@ void autokeyframe_pose_cb_func(bContext *C, Scene *scene, View3D *v3d, Object *o
                 */
                if (C && (ob->pose->avs.path_bakeflag & MOTIONPATH_BAKE_HAS_PATHS)) {
                        //ED_pose_clear_paths(C, ob); // XXX for now, don't need to clear
-                       ED_pose_recalculate_paths(scene, ob);
+                       ED_pose_recalculate_paths(bmain, scene, ob);
                }
        }
        else {