While looking at the python Lattice code for a bug, I instead found

what must clearly be a typo ... an 's_z' where an 's_y' should be
-- python Lattice module owner please check!
This commit is contained in:
Chris Want 2005-11-23 23:43:02 +00:00
parent 899fe6ee9d
commit fde3718843

@ -482,7 +482,7 @@ static PyObject *Lattice_getKeyTypes( BPy_Lattice * self )
else if( ( bl_Lattice->typev ) == KEY_CARDINAL )
s_y = cardinal;
else if( ( bl_Lattice->typev ) == KEY_BSPLINE )
s_z = bspline;
s_y = bspline;
else
return EXPP_ReturnPyObjError( PyExc_RuntimeError,
"bad key type..." );