From fde37188434ba31bf1c1e74425f602401da4a534 Mon Sep 17 00:00:00 2001 From: Chris Want Date: Wed, 23 Nov 2005 23:43:02 +0000 Subject: [PATCH] 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! --- source/blender/python/api2_2x/Lattice.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/python/api2_2x/Lattice.c b/source/blender/python/api2_2x/Lattice.c index 3ea371ec4e5..415eb6c7be2 100644 --- a/source/blender/python/api2_2x/Lattice.c +++ b/source/blender/python/api2_2x/Lattice.c @@ -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..." );