diff options
Diffstat (limited to 'source/blender/blenkernel/intern/displist.c')
-rw-r--r-- | source/blender/blenkernel/intern/displist.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/source/blender/blenkernel/intern/displist.c b/source/blender/blenkernel/intern/displist.c index b9d89be6f9d..4282e860c4e 100644 --- a/source/blender/blenkernel/intern/displist.c +++ b/source/blender/blenkernel/intern/displist.c @@ -1374,10 +1374,12 @@ static void do_makeDispListCurveTypes(Scene *scene, Object *ob, ListBase *dispba if (ob->curve_cache->path) free_path(ob->curve_cache->path); ob->curve_cache->path = NULL; - if (ob->type == OB_FONT) - BKE_vfont_to_curve(G.main, scene, ob, FO_EDIT, NULL); - - BKE_nurbList_duplicate(&nubase, BKE_curve_nurbs_get(cu)); + if (ob->type == OB_FONT) { + BKE_vfont_to_curve_nubase(G.main, scene, ob, &nubase, FO_EDIT, NULL); + } + else { + BKE_nurbList_duplicate(&nubase, BKE_curve_nurbs_get(cu)); + } if (!forOrco) curve_calc_modifiers_pre(scene, ob, &nubase, forRender, renderResolution); |