diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-03-02 02:17:04 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-03-02 02:17:04 +0400 |
commit | 921a7556fbc4c66267137b767ce93c85d9b4cbd8 (patch) | |
tree | 7d816ba9696338c219d18ac4d6f7e3b1f536ebf6 /source/blender/bmesh/intern/bmesh_construct.h | |
parent | 2942eab57c9677e87d0830fe5e5da35abb869417 (diff) |
bmesh - changes to mempool allocations
* double default edge allocation size (double the number of verts/faces).
* CustomData_bmesh_init_pool was using allocsize & chunksize as the same variable. Now use type specific chunk size.
* bmesh copy and editmode conversion now allocate the BMesh mempool size needed for the entire vert/edge/loop/face arrays since its known already.
Diffstat (limited to 'source/blender/bmesh/intern/bmesh_construct.h')
-rw-r--r-- | source/blender/bmesh/intern/bmesh_construct.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/bmesh/intern/bmesh_construct.h b/source/blender/bmesh/intern/bmesh_construct.h index 8d624592ae7..5c4101c9cde 100644 --- a/source/blender/bmesh/intern/bmesh_construct.h +++ b/source/blender/bmesh/intern/bmesh_construct.h @@ -46,7 +46,7 @@ void BMO_remove_tagged_context(BMesh *bm, const short oflag, const int type); void BM_elem_attrs_copy(BMesh *source_mesh, BMesh *target_mesh, const void *source, void *target); -BMesh *BM_mesh_copy(BMesh *bmold); +BMesh *BM_mesh_copy(BMesh *bm_old); char BM_face_flag_from_mflag(const char mflag); char BM_edge_flag_from_mflag(const short mflag); |