Blender Git Commit Log

Git Commits -> Revision 921a755

Revision 921a755 by Campbell Barton (master)
March 1, 2012, 22:17 (GMT)
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.

Commit Details:

Full Hash: 921a7556fbc4c66267137b767ce93c85d9b4cbd8
SVN Revision: 44593
Parent Commit: 2942eab
Lines Changed: +113, -85

8 Modified Paths:

/source/blender/blenkernel/BKE_customdata.h (+2, -2) (Diff)
/source/blender/blenkernel/intern/customdata.c (+19, -5) (Diff)
/source/blender/bmesh/intern/bmesh_construct.c (+44, -40) (Diff)
/source/blender/bmesh/intern/bmesh_construct.h (+1, -1) (Diff)
/source/blender/bmesh/intern/bmesh_interp.c (+27, -17) (Diff)
/source/blender/bmesh/intern/bmesh_mesh.c (+1, -1) (Diff)
/source/blender/bmesh/operators/bmo_mesh_conv.c (+4, -4) (Diff)
/source/blender/editors/mesh/bmesh_tools.c (+15, -15) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021