forked from bartvdbraak/blender
mistake in last commit
This commit is contained in:
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;
|
||||
|
Loading…
Reference in New Issue
Block a user