Blender Git Commit Log
Git Commits -> Revision 07ccd3e
Revision 07ccd3e by Campbell Barton (master) November 29, 2012, 16:26 (GMT) |
fix [#33029] Applying modifier leaks memory Thanks for Sergey for finding the bug & patching, This fix works a bit differently. Theres no need to allocate the customdata in the first place - since its written into. So add a flag for vert/edge/face/loop creation functions so they can skip customdata creation. |
Commit Details:
Full Hash: 07ccd3ee3f9700730a60013a66b09466af2585d3
SVN Revision: 52664
Parent Commit: f174570
Lines Changed: +177, -152
20 Modified Paths:
/source/blender/blenkernel/intern/modifiers_bmesh.c (+3, -3) (Diff)
/source/blender/bmesh/intern/bmesh_construct.c (+14, -14) (Diff)
/source/blender/bmesh/intern/bmesh_construct.h (+2, -2) (Diff)
/source/blender/bmesh/intern/bmesh_core.c (+59, -43) (Diff)
/source/blender/bmesh/intern/bmesh_core.h (+12, -3) (Diff)
/source/blender/bmesh/intern/bmesh_mesh_conv.c (+3, -3) (Diff)
/source/blender/bmesh/operators/bmo_create.c (+12, -12) (Diff)
/source/blender/bmesh/operators/bmo_dupe.c (+3, -3) (Diff)
/source/blender/bmesh/operators/bmo_extrude.c (+7, -7) (Diff)
/source/blender/bmesh/operators/bmo_hull.c (+3, -3) (Diff)
/source/blender/bmesh/operators/bmo_inset.c (+2, -2) (Diff)
/source/blender/bmesh/operators/bmo_primitive.c (+23, -23) (Diff)
/source/blender/bmesh/operators/bmo_removedoubles.c (+2, -2) (Diff)
/source/blender/bmesh/operators/bmo_symmetrize.c (+9, -9) (Diff)
/source/blender/bmesh/operators/bmo_utils.c (+1, -1) (Diff)
/source/blender/bmesh/operators/bmo_wireframe.c (+4, -4) (Diff)
/source/blender/bmesh/tools/bmesh_bevel.c (+4, -4) (Diff)
/source/blender/editors/mesh/editmesh_knife.c (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_skin.c (+8, -8) (Diff)
/source/blender/python/bmesh/bmesh_py_types.c (+5, -5) (Diff)
/source/blender/bmesh/intern/bmesh_construct.c (+14, -14) (Diff)
/source/blender/bmesh/intern/bmesh_construct.h (+2, -2) (Diff)
/source/blender/bmesh/intern/bmesh_core.c (+59, -43) (Diff)
/source/blender/bmesh/intern/bmesh_core.h (+12, -3) (Diff)
/source/blender/bmesh/intern/bmesh_mesh_conv.c (+3, -3) (Diff)
/source/blender/bmesh/operators/bmo_create.c (+12, -12) (Diff)
/source/blender/bmesh/operators/bmo_dupe.c (+3, -3) (Diff)
/source/blender/bmesh/operators/bmo_extrude.c (+7, -7) (Diff)
/source/blender/bmesh/operators/bmo_hull.c (+3, -3) (Diff)
/source/blender/bmesh/operators/bmo_inset.c (+2, -2) (Diff)
/source/blender/bmesh/operators/bmo_primitive.c (+23, -23) (Diff)
/source/blender/bmesh/operators/bmo_removedoubles.c (+2, -2) (Diff)
/source/blender/bmesh/operators/bmo_symmetrize.c (+9, -9) (Diff)
/source/blender/bmesh/operators/bmo_utils.c (+1, -1) (Diff)
/source/blender/bmesh/operators/bmo_wireframe.c (+4, -4) (Diff)
/source/blender/bmesh/tools/bmesh_bevel.c (+4, -4) (Diff)
/source/blender/editors/mesh/editmesh_knife.c (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_skin.c (+8, -8) (Diff)
/source/blender/python/bmesh/bmesh_py_types.c (+5, -5) (Diff)