diff options
author | Campbell Barton <ideasman42@gmail.com> | 2007-11-09 19:05:04 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2007-11-09 19:05:04 +0300 |
commit | 6b1158c14612c5e34ae031dcbafb27e32ed3efbe (patch) | |
tree | fa76485770050ed18cfbd178dc4d35b5dda63b8f /source/blender/python/api2_2x | |
parent | 072cb52a79d498b01cfdd7081f0bacfe628d9a71 (diff) |
mistake in last commit
Diffstat (limited to 'source/blender/python/api2_2x')
-rw-r--r-- | source/blender/python/api2_2x/Geometry.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/Geometry.c b/source/blender/python/api2_2x/Geometry.c index f82117205db..344fdcf20a9 100644 --- a/source/blender/python/api2_2x/Geometry.c +++ b/source/blender/python/api2_2x/Geometry.c @@ -310,7 +310,7 @@ static PyObject *M_Geometry_ClosestPointOnLine( PyObject * self, PyObject * args /* do the calculation */ lambda = lambda_cp_line_ex(pt_in, l1, l2, pt_out); - PyTuple_New(2); + ret = PyTuple_New(2); PyTuple_SET_ITEM( ret, 0, newVectorObject(pt_out, 3, Py_NEW) ); PyTuple_SET_ITEM( ret, 1, PyFloat_FromDouble(lambda) ); return ret; |