While looking at the python Lattice code for a bug, I instead found
authorChris Want <cwant@ualberta.ca>
Wed, 23 Nov 2005 23:43:02 +0000 (23:43 +0000)
committerChris Want <cwant@ualberta.ca>
Wed, 23 Nov 2005 23:43:02 +0000 (23:43 +0000)
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

index 3ea371ec4e58385dcc746cb3034eea8952e320f3..415eb6c7be28bc20b369881f0817c676b7048498 100644 (file)
@@ -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..." );