Added a new notifyer, NC_SPACE_CHANGED, to signal an editor that
[blender.git] / source / blender / blenkernel / intern / BME_Customdata.c
index ea149e03959141b03e26f56ae90b7305d3f64bb6..822a0d8a08068e0356b5adfe2680861e33ae691e 100644 (file)
@@ -84,7 +84,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);
+               data->pool = BLI_mempool_create(data->totsize, initalloc, initalloc, 0);
                /*initialize layer data*/
                for(i=0; i < BME_CD_NUMTYPES; i++){
                        if(init->layout[i]){