Revision: 52817
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=52817
Author: campbellbarton
Date: 2012-12-08 13:15:04 +0000 (Sat, 08 Dec 2012)
Log Message:
-----------
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.
Modified Paths:
--------------
trunk/blender/source/blender/bmesh/intern/bmesh_operators.c
Modified: trunk/blender/source/blender/bmesh/intern/bmesh_operators.c
===================================================================
--- trunk/blender/source/blender/bmesh/intern/bmesh_operators.c 2012-12-08
12:35:14 UTC (rev 52816)
+++ trunk/blender/source/blender/bmesh/intern/bmesh_operators.c 2012-12-08
13:15:04 UTC (rev 52817)
@@ -1225,7 +1225,7 @@
/* 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) {
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs