BM_iter_as_arrayN() can now take an optional existing array argument, useful to avoid...
authorCampbell Barton <ideasman42@gmail.com>
Mon, 12 Nov 2012 05:53:43 +0000 (05:53 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 12 Nov 2012 05:53:43 +0000 (05:53 +0000)
commit0bfc92ff8e16c76b8a01ace39f3e98b2beeda795
tree08195a32c602cd6dab54edd7d0b7cae5f374d118
parent428e5b7a99eeae77caccbabbf32a7e596d0907d7
BM_iter_as_arrayN() can now take an optional existing array argument, useful to avoid many small malloc's by passing a fixes size stack variable instead.

Will give some speedup to edge-split modifier and bevel.
15 files changed:
source/blender/blenkernel/intern/mesh.c
source/blender/bmesh/bmesh_class.h
source/blender/bmesh/intern/bmesh_construct.c
source/blender/bmesh/intern/bmesh_core.c
source/blender/bmesh/intern/bmesh_decimate_dissolve.c
source/blender/bmesh/intern/bmesh_interp.c
source/blender/bmesh/intern/bmesh_iterators.c
source/blender/bmesh/intern/bmesh_iterators.h
source/blender/bmesh/intern/bmesh_polygon.c
source/blender/bmesh/intern/bmesh_queries.c
source/blender/bmesh/operators/bmo_bevel.c
source/blender/bmesh/operators/bmo_create.c
source/blender/bmesh/operators/bmo_extrude.c
source/blender/editors/mesh/editmesh_knife.c
source/blender/editors/uvedit/uvedit_unwrap_ops.c