diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-01-03 07:18:06 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-01-03 07:20:35 +0400 |
commit | a5cb2229abbc7d43f34dabea332afd33614fc0db (patch) | |
tree | 3b039eeccbcc69589b0c9ac98245f941435b9fcd /source/blender/blenkernel/intern/displist.c | |
parent | f345414b89a9d94cca668c10ce8f0464d06dea4f (diff) |
Text3d: avoid converting utf8 to wchar_t in editmode
Diffstat (limited to 'source/blender/blenkernel/intern/displist.c')
-rw-r--r-- | source/blender/blenkernel/intern/displist.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/displist.c b/source/blender/blenkernel/intern/displist.c index 7ad8e80665e..b9d89be6f9d 100644 --- a/source/blender/blenkernel/intern/displist.c +++ b/source/blender/blenkernel/intern/displist.c @@ -41,6 +41,7 @@ #include "DNA_scene_types.h" #include "DNA_object_types.h" #include "DNA_material_types.h" +#include "DNA_vfont_types.h" #include "BLI_blenlib.h" #include "BLI_memarena.h" @@ -1374,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(G.main, scene, ob, 0); + BKE_vfont_to_curve(G.main, scene, ob, FO_EDIT, NULL); BKE_nurbList_duplicate(&nubase, BKE_curve_nurbs_get(cu)); |