Text3d: avoid converting utf8 to wchar_t in editmode
[blender.git] / source / blender / editors / object / object_edit.c
index dc641dbe76513dc45fc41f149144f4a5d4bb24c6..4dc9c6a2a9da0f0af314b595f52bcce4e28f23d6 100644 (file)
@@ -931,7 +931,7 @@ static void copy_attr(Main *bmain, Scene *scene, View3D *v3d, short event)
                                                cu1->vfontbi = cu->vfontbi;
                                                id_us_plus((ID *)cu1->vfontbi);
 
-                                               BKE_vfont_to_curve(bmain, scene, base->object, 0); /* needed? */
+                                               BKE_vfont_to_curve(bmain, scene, base->object, FO_EDIT, NULL); /* needed? */
 
                                                
                                                BLI_strncpy(cu1->family, cu->family, sizeof(cu1->family));