diff options
author | Daniel Dunbar <daniel@zuster.org> | 2005-04-04 08:50:41 +0400 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2005-04-04 08:50:41 +0400 |
commit | 93c66febd7f1e632eaeafda3e07053bc4bcbdc24 (patch) | |
tree | 140f0718f601701e77ceab6fc97ef09946400287 /source/blender/blenkernel/BKE_DerivedMesh.h | |
parent | 876d8ef7b5d76cafbbf8eea8ce69acd793f5daf6 (diff) |
- removed DispListMesh.{editedge,editface}
- removed displistmesh_from_{mesh,editmesh}
- removed EditVert.ssco
- removed unused functions for DispListMesh DerivedMesh
Still need lots more testing for this stuff.
Diffstat (limited to 'source/blender/blenkernel/BKE_DerivedMesh.h')
-rw-r--r-- | source/blender/blenkernel/BKE_DerivedMesh.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/source/blender/blenkernel/BKE_DerivedMesh.h b/source/blender/blenkernel/BKE_DerivedMesh.h index 1c21a4f7d7b..b80a1220b98 100644 --- a/source/blender/blenkernel/BKE_DerivedMesh.h +++ b/source/blender/blenkernel/BKE_DerivedMesh.h @@ -129,17 +129,23 @@ struct DerivedMesh { }; /* Internal function, just temporarily exposed */ -DerivedMesh *derivedmesh_from_displistmesh(struct EditMesh *em, struct DispListMesh *dlm); +DerivedMesh *derivedmesh_from_displistmesh(struct DispListMesh *dlm); DerivedMesh *mesh_get_derived(struct Object *ob); -DerivedMesh *mesh_get_base_derived(struct Object *ob); - DerivedMesh *mesh_get_derived_render(struct Object *ob, int *needsFree_r); + /* IMPORTANT: The functions below do not return "true" DerivedMesh + * objects, rather they are just proxies for the mesh or editmesh + * objects and are used to keep the drawing code consistent. They + * should not be used as general purpose objects (access the Mesh + * or EditMesh directly). + */ + /* Utility function, just chooses appropriate DerivedMesh based * on mesh flags. Release result if *needsFree_r is true. */ DerivedMesh *mesh_get_cage_derived(struct Object *ob, int *needsFree_r); +DerivedMesh *mesh_get_base_derived(struct Object *ob); #endif |