diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-09-11 18:56:54 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-09-11 18:56:54 +0400 |
commit | 042d3e595693ce0c280b46d13db921afbcf105a4 (patch) | |
tree | 364e38bf14f724d2d33996781cd4c79e440b8250 /source/blender/python | |
parent | 4908a84825cc4e0dc8f931ce4a13edf84b230232 (diff) |
2.5: fix for merge, forward_diff_bezier needed to be updated.
Diffstat (limited to 'source/blender/python')
-rw-r--r-- | source/blender/python/generic/Geometry.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/generic/Geometry.c b/source/blender/python/generic/Geometry.c index 70295d1c2d9..f7b7ee866f0 100644 --- a/source/blender/python/generic/Geometry.c +++ b/source/blender/python/generic/Geometry.c @@ -523,7 +523,7 @@ static PyObject *M_Geometry_BezierInterp( PyObject * self, PyObject * args ) coord_array = MEM_callocN(dims * (resolu) * sizeof(float), "BezierInterp"); for(i=0; i<dims; i++) { - forward_diff_bezier(k1[i], h1[i], h2[i], k2[i], coord_array+i, resolu-1, dims); + forward_diff_bezier(k1[i], h1[i], h2[i], k2[i], coord_array+i, resolu-1, sizeof(float)*dims); } list= PyList_New(resolu); |