diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-10-15 07:58:58 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-10-15 08:01:39 +0300 |
commit | 0ef4c4e12a95cbe49af6e42b6e20a6d69547796c (patch) | |
tree | 5f486c266d854272e92f2d0ca4577f121578eb48 /source/blender/blenkernel/BKE_displist.h | |
parent | 62a3dfec78ca9691b6f93a0017171045440c40a7 (diff) |
Mesh: remove DerivedMesh for displist conversion
Diffstat (limited to 'source/blender/blenkernel/BKE_displist.h')
-rw-r--r-- | source/blender/blenkernel/BKE_displist.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/source/blender/blenkernel/BKE_displist.h b/source/blender/blenkernel/BKE_displist.h index 034f9b2b6a8..02c86642b11 100644 --- a/source/blender/blenkernel/BKE_displist.h +++ b/source/blender/blenkernel/BKE_displist.h @@ -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 |