diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-02-28 22:28:30 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-02-28 22:28:30 +0400 |
commit | d1d11bbe9bc73f8578dbd138d079dc6488b5920d (patch) | |
tree | 09e60c6006fa5f0fdef22d7027f75b6a3a2079af /source/blender/bmesh/intern/bmesh_mesh.c | |
parent | df0f0c63d32b3819bab625f72d62e1fcf6d5ced5 (diff) |
more header re-arranging.
Some function comments were in headers, some in the C files, some in both.
Moved function comments from headers into the C files.
Diffstat (limited to 'source/blender/bmesh/intern/bmesh_mesh.c')
-rw-r--r-- | source/blender/bmesh/intern/bmesh_mesh.c | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/source/blender/bmesh/intern/bmesh_mesh.c b/source/blender/bmesh/intern/bmesh_mesh.c index c4a00fe1464..80a557771c6 100644 --- a/source/blender/bmesh/intern/bmesh_mesh.c +++ b/source/blender/bmesh/intern/bmesh_mesh.c @@ -30,17 +30,13 @@ #include "DNA_listBase.h" #include "DNA_object_types.h" -#include "DNA_meshdata_types.h" -#include "DNA_mesh_types.h" #include "BLI_listbase.h" #include "BLI_math.h" #include "BLI_utildefines.h" -#include "BKE_utildefines.h" #include "BKE_cdderivedmesh.h" #include "BKE_tessmesh.h" -#include "BKE_customdata.h" #include "BKE_multires.h" #include "ED_mesh.h" @@ -65,13 +61,14 @@ static void bmesh_mempool_init(BMesh *bm, const int allocsize[4]) bm->toolflagpool = BLI_mempool_create(sizeof(BMFlagLayer), 512, 512, FALSE, FALSE); } -/* +/** * BMESH MAKE MESH * * Allocates a new BMesh structure. * Returns - * Pointer to a BM * + * \note ob is needed by multires */ BMesh *BM_mesh_create(struct Object *ob, const int allocsize[4]) @@ -91,12 +88,13 @@ BMesh *BM_mesh_create(struct Object *ob, const int allocsize[4]) return bm; } -/* +/** * BMESH FREE MESH * * Frees a BMesh structure. + * + * \note frees mesh, but not actual BMesh struct */ - void BM_mesh_data_free(BMesh *bm) { BMVert *v; @@ -159,6 +157,9 @@ void BM_mesh_data_free(BMesh *bm) BMO_error_clear(bm); } +/** + * clear all data in bm + */ void BM_mesh_clear(BMesh *bm) { Object *ob = bm->ob; |