Remove direct displist creation from BKE_vfont_to_curve_ex()
[blender.git] / source / blender / blenkernel / intern / displist.c
index da386e41ded03fc73fda17419c0a1ec77920edc5..402acf5806c6fa1f44a1f58d1459c03d93772d41 100644 (file)
@@ -1375,7 +1375,7 @@ static void do_makeDispListCurveTypes(Scene *scene, Object *ob, ListBase *dispba
                ob->curve_cache->path = NULL;
 
                if (ob->type == OB_FONT) {
-                       BKE_vfont_to_curve_nubase(G.main, scene, ob, FO_EDIT, &nubase);
+                       BKE_vfont_to_curve_nubase(G.main, ob, FO_EDIT, &nubase);
                }
                else {
                        BKE_nurbList_duplicate(&nubase, BKE_curve_nurbs_get(cu));