diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-12-08 17:15:04 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-12-08 17:15:04 +0400 |
commit | 231d1a3ddd272c5528d0a5b8eccc4ab60ddec3b4 (patch) | |
tree | e80f41bf60a77891441616e3adf775f748c56efa /source/blender | |
parent | 7b9adab594d1cc670d642b56ae8d76069ce91107 (diff) |
bmesh toolflags would use BLI_MEMPOOL_SYSMALLOC when reducing layers only (would use MEM_mallocN in one case but malloc in another). better use blenders MEM_mallocN for both.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/bmesh/intern/bmesh_operators.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/bmesh/intern/bmesh_operators.c b/source/blender/bmesh/intern/bmesh_operators.c index baec0b7745d..5e51f5a5ada 100644 --- a/source/blender/bmesh/intern/bmesh_operators.c +++ b/source/blender/bmesh/intern/bmesh_operators.c @@ -1225,7 +1225,7 @@ static void bmo_flag_layer_free(BMesh *bm) /* de-increment the totflags first.. */ bm->totflags--; /* allocate new flag poo */ - bm->toolflagpool = newpool = BLI_mempool_create(new_totflags_size, 512, 512, BLI_MEMPOOL_SYSMALLOC); + bm->toolflagpool = newpool = BLI_mempool_create(new_totflags_size, 512, 512, 0); /* now go through and memcpy all the flag */ BM_ITER_MESH_INDEX (ele, &iter, bm, BM_VERTS_OF_MESH, i) { |