remove cellalloc, from my tests jemalloc beats cellalloc, so we better just use a...
[blender.git] / source / blender / bmesh / intern / bmesh_interp.c
index ed6b494494e9afbbd59196e5a8b5b423098a18b8..086dd897ad94ccc5fba98008849f3a4f5bf82ccb 100644 (file)
@@ -42,7 +42,6 @@
 
 #include "BLI_array.h"
 #include "BLI_math.h"
-#include "BLI_cellalloc.h"
 
 #include "bmesh.h"
 #include "bmesh_private.h"
@@ -538,7 +537,7 @@ static void bmesh_loop_interp_mdisps(BMesh *bm, BMLoop *target, BMFace *source)
                
                mdisps->totdisp = md2->totdisp;
                if (mdisps->totdisp)
-                       mdisps->disps = BLI_cellalloc_calloc(sizeof(float)*3*mdisps->totdisp, "mdisp->disps in bmesh_loop_intern_mdisps");
+                       mdisps->disps = MEM_callocN(sizeof(float)*3*mdisps->totdisp, "mdisp->disps in bmesh_loop_intern_mdisps");
                else 
                        return;
        }