code cleanup: BKE_ naming, also make bpy.data.images.load() always load a new image...
[blender.git] / source / blender / editors / space_view3d / drawobject.c
index 37f24dda8ab17724f2eb302955b6c5cea4440b9e..79dce3e6bcd90c3cc93414a4ab72a39ceda77fd4 100644 (file)
@@ -6647,7 +6647,7 @@ void draw_object(Scene *scene, ARegion *ar, View3D *v3d, Base *base, int flag)
                                setlinestyle(0);
 
 
-                               if (BKE_font_getselection(ob, &selstart, &selend) && cu->selboxes) {
+                               if (BKE_vfont_select_get(ob, &selstart, &selend) && cu->selboxes) {
                                        float selboxw;
 
                                        cpack(0xffffff);