diff options
author | Joshua Leung <aligorith@gmail.com> | 2016-12-29 04:34:39 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2017-01-02 13:32:13 +0300 |
commit | 3c7407163418fd9837951af2c252a918400435bf (patch) | |
tree | 226361905ba52f0788ddcb3c255a938233d53c4b | |
parent | 070f22c44082c1a7405795744cec667157abbfbf (diff) |
Fix: Passed wrong last argument to function
-rw-r--r-- | source/blender/python/intern/bpy_rna_anim.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/intern/bpy_rna_anim.c b/source/blender/python/intern/bpy_rna_anim.c index 5fbe1ab971a..8a0130babd5 100644 --- a/source/blender/python/intern/bpy_rna_anim.c +++ b/source/blender/python/intern/bpy_rna_anim.c @@ -252,7 +252,7 @@ PyObject *pyrna_struct_keyframe_insert(BPy_StructRNA *self, PyObject *args, PyOb NlaStrip *strip = (NlaStrip *)ptr.data; FCurve *fcu = list_find_fcurve(&strip->fcurves, RNA_property_identifier(prop), index); - result = insert_keyframe_direct(&reports, ptr, prop, fcu, cfra, keytype, index); + result = insert_keyframe_direct(&reports, ptr, prop, fcu, cfra, keytype, options); } else { BKE_reportf(&reports, RPT_ERROR, "Could not resolve path (%s)", path_full); |