diff --git a/source/blender/blenkernel/BKE_displist.h b/source/blender/blenkernel/BKE_displist.h index 3ac43cb75a0..ffa0b4d0091 100644 --- a/source/blender/blenkernel/BKE_displist.h +++ b/source/blender/blenkernel/BKE_displist.h @@ -84,13 +84,6 @@ void BKE_displist_count(const struct ListBase *lb, int *totvert, int *totface, i void BKE_displist_free(struct ListBase *lb); bool BKE_displist_has_faces(const struct ListBase *lb); -void BKE_displist_make_surf(struct Depsgraph *depsgraph, - const struct Scene *scene, - struct Object *ob, - struct ListBase *dispbase, - struct Mesh **r_final, - const bool for_render, - const bool for_orco); void BKE_displist_make_curveTypes(struct Depsgraph *depsgraph, const struct Scene *scene, struct Object *ob, diff --git a/source/blender/blenkernel/intern/displist.cc b/source/blender/blenkernel/intern/displist.cc index 15aa614baad..7337f1d929f 100644 --- a/source/blender/blenkernel/intern/displist.cc +++ b/source/blender/blenkernel/intern/displist.cc @@ -1092,13 +1092,13 @@ static void displist_surf_indices(DispList *dl) } } -void BKE_displist_make_surf(Depsgraph *depsgraph, - const Scene *scene, - Object *ob, - ListBase *dispbase, - Mesh **r_final, - const bool for_render, - const bool for_orco) +static void displist_make_surf(Depsgraph *depsgraph, + const Scene *scene, + Object *ob, + ListBase *dispbase, + Mesh **r_final, + const bool for_render, + const bool for_orco) { ListBase nubase = {nullptr, nullptr}; const Curve *cu = (const Curve *)ob->data; @@ -1419,7 +1419,7 @@ static void do_makeDispListCurveTypes(Depsgraph *depsgraph, } if (ob->type == OB_SURF) { - BKE_displist_make_surf(depsgraph, scene, ob, dispbase, r_final, for_render, for_orco); + displist_make_surf(depsgraph, scene, ob, dispbase, r_final, for_render, for_orco); } else if (ELEM(ob->type, OB_CURVE, OB_FONT)) { ListBase dlbev;