diff options
Diffstat (limited to 'source/blender/python/api2_2x/Lattice.c')
-rw-r--r-- | source/blender/python/api2_2x/Lattice.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/python/api2_2x/Lattice.c b/source/blender/python/api2_2x/Lattice.c index 1c177cc67db..3ea371ec4e5 100644 --- a/source/blender/python/api2_2x/Lattice.c +++ b/source/blender/python/api2_2x/Lattice.c @@ -757,8 +757,8 @@ static PyObject *Lattice_insertKey( BPy_Lattice * self, PyObject * args ) // return (EXPP_ReturnPyObjError (PyExc_RuntimeError, // "frame value has to be greater than 0")); - //insert a keybock for the lattice - insert_lattkey( lt ); + //insert a keybock for the lattice (1=relative) + insert_lattkey( lt , 1); if( frame > 0 ) G.scene->r.cfra = (short)oldfra; |