Cleanup: Make function static
This was not used in any other file, and it's not likely to be used elsewhere in the future anyway.
This commit is contained in:
parent
7313b243f2
commit
1c6e338d59
|
@ -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,
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue