Merge branch 'master' into blender2.8
[blender.git] / source / blender / blenkernel / intern / curve.c
index 01da985..504999b 100644 (file)
@@ -4962,7 +4962,7 @@ bool BKE_curve_minmax(Curve *cu, bool use_radius, float min[3], float max[3])
         */
        if (is_font) {
                nurb_lb = &temp_nurb_lb;
-               BKE_vfont_to_curve_ex(G.main, NULL, cu, FO_EDIT, nurb_lb,
+               BKE_vfont_to_curve_ex(NULL, cu, FO_EDIT, nurb_lb,
                                      NULL, NULL, NULL, NULL);
                use_radius = false;
        }