Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2007-11-09 19:05:04 +0300
committerCampbell Barton <ideasman42@gmail.com>2007-11-09 19:05:04 +0300
commit6b1158c14612c5e34ae031dcbafb27e32ed3efbe (patch)
treefa76485770050ed18cfbd178dc4d35b5dda63b8f /source/blender/python
parent072cb52a79d498b01cfdd7081f0bacfe628d9a71 (diff)
mistake in last commit
Diffstat (limited to 'source/blender/python')
-rw-r--r--source/blender/python/api2_2x/Geometry.c2
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;