Text3d: avoid converting utf8 to wchar_t in editmode
[blender.git] / source / blender / makesrna / intern / rna_ID.c
index 075f852a032d3ea64b057e23db0e380073a0cf3f..a36bd8e27c227626925740bf3e76d7172fb90895 100644 (file)
@@ -280,7 +280,7 @@ static void rna_ID_update_tag(ID *id, ReportList *reports, int flag)
        if (ob->type == OB_FONT) {
                Curve *cu = ob->data;
                freedisplist(&cu->disp);
-               BKE_vfont_to_curve(sce, ob, CU_LEFT);
+               BKE_vfont_to_curve(bmain, sce, ob, FO_EDIT, NULL);
        }
 #endif