code cleanup: BKE_ naming, also make bpy.data.images.load() always load a new image...
[blender.git] / source / blender / blenkernel / intern / curve.c
index 04a2eef5615055383f010fa08f58c3358c3c10da..bfefc1f0cd97fc36f20e1275df1bf8ca5ffdf439 100644 (file)
@@ -175,7 +175,7 @@ Curve *BKE_curve_add(const char *name, int type)
        cu->bb= BKE_boundbox_alloc_unit();
        
        if (type==OB_FONT) {
-               cu->vfont= cu->vfontb= cu->vfonti= cu->vfontbi= get_builtin_font();
+               cu->vfont= cu->vfontb= cu->vfonti= cu->vfontbi= BKE_vfont_builtin_get();
                cu->vfont->id.us+=4;
                cu->str= MEM_mallocN(12, "str");
                BLI_strncpy(cu->str, "Text", 12);