Mesh: remove DerivedMesh for displist conversion
This commit is contained in:
@@ -58,7 +58,7 @@ enum {
|
||||
/* prototypes */
|
||||
|
||||
struct Depsgraph;
|
||||
struct DerivedMesh;
|
||||
struct Mesh;
|
||||
struct ListBase;
|
||||
struct Main;
|
||||
struct Object;
|
||||
@@ -89,12 +89,12 @@ bool BKE_displist_has_faces(struct ListBase *lb);
|
||||
|
||||
void BKE_displist_make_surf(
|
||||
struct Depsgraph *depsgraph, struct Scene *scene, struct Object *ob, struct ListBase *dispbase,
|
||||
struct DerivedMesh **r_dm_final, const bool for_render, const bool for_orco, const bool use_render_resolution);
|
||||
struct Mesh **r_final, const bool for_render, const bool for_orco, const bool use_render_resolution);
|
||||
void BKE_displist_make_curveTypes(
|
||||
struct Depsgraph *depsgraph, struct Scene *scene, struct Object *ob, const bool for_orco);
|
||||
void BKE_displist_make_curveTypes_forRender(
|
||||
struct Depsgraph *depsgraph, struct Scene *scene, struct Object *ob, struct ListBase *dispbase,
|
||||
struct DerivedMesh **r_dm_final, const bool for_orco, const bool use_render_resolution);
|
||||
struct Mesh **r_final, const bool for_orco, const bool use_render_resolution);
|
||||
void BKE_displist_make_curveTypes_forOrco(
|
||||
struct Depsgraph *depsgraph, struct Scene *scene, struct Object *ob, struct ListBase *dispbase);
|
||||
void BKE_displist_make_mball(
|
||||
@@ -107,11 +107,6 @@ void BKE_displist_fill(struct ListBase *dispbase, struct ListBase *to, const flo
|
||||
|
||||
float BKE_displist_calc_taper(struct Depsgraph *depsgraph, struct Scene *scene, struct Object *taperobj, int cur, int tot);
|
||||
|
||||
/* add Orco layer to the displist object which has got derived mesh and return orco */
|
||||
float *BKE_displist_make_orco(
|
||||
struct Depsgraph *depsgraph, struct Scene *scene, struct Object *ob, struct DerivedMesh *dm_final,
|
||||
const bool for_render, const bool use_render_resolution);
|
||||
|
||||
void BKE_displist_minmax(struct ListBase *dispbase, float min[3], float max[3]);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user