mistake in last commit

This commit is contained in:
Campbell Barton 2007-11-09 16:05:04 +00:00
parent 072cb52a79
commit 6b1158c146

@ -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;