diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-11-16 23:31:42 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-11-16 23:31:42 +0400 |
commit | 3dcc9aef9685388255d4cf9d646830d573aeb932 (patch) | |
tree | 0195d2ad7b887e4a35eda5c94aef9ad54f6e8b39 /source/blender/blenkernel/intern/BME_Customdata.c | |
parent | 9b17d39ce031cb89a3e4ea8cbdd0bceb4612871d (diff) |
merge mempool changes from bmesh (adds mempool iterator).
Diffstat (limited to 'source/blender/blenkernel/intern/BME_Customdata.c')
-rw-r--r-- | source/blender/blenkernel/intern/BME_Customdata.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/BME_Customdata.c b/source/blender/blenkernel/intern/BME_Customdata.c index 8a6426eb3d5..67215b5e40f 100644 --- a/source/blender/blenkernel/intern/BME_Customdata.c +++ b/source/blender/blenkernel/intern/BME_Customdata.c @@ -86,7 +86,7 @@ void BME_CD_Create(BME_CustomData *data, BME_CustomDataInit *init, int initalloc if(data->totlayer){ /*alloc memory*/ data->layers = MEM_callocN(sizeof(BME_CustomDataLayer)*data->totlayer, "BMesh Custom Data Layers"); - data->pool = BLI_mempool_create(data->totsize, initalloc, initalloc, 0); + data->pool = BLI_mempool_create(data->totsize, initalloc, initalloc, FALSE, FALSE); /*initialize layer data*/ for(i=0; i < BME_CD_NUMTYPES; i++){ if(init->layout[i]){ |