diff options
author | Joshua Leung <aligorith@gmail.com> | 2015-07-24 05:14:55 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2015-07-24 05:20:15 +0300 |
commit | 15cb94c65a071b1436a414fadb491662ad2886c1 (patch) | |
tree | 596e9eceee9d5123a691e6260ae47aeb93c28372 /source/blender | |
parent | ea3dae74d870864f6e9d329056ad2b219ae9f81c (diff) |
Fix: NLA Strip properties cannot be keyframed if Visual Keying/Only Needed options are enabled
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/animation/keyframing.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/animation/keyframing.c b/source/blender/editors/animation/keyframing.c index 85ea5526908..46997f96dc7 100644 --- a/source/blender/editors/animation/keyframing.c +++ b/source/blender/editors/animation/keyframing.c @@ -1717,7 +1717,7 @@ static int insert_key_button_exec(bContext *C, wmOperator *op) * not have any effect. */ NlaStrip *strip = (NlaStrip *)ptr.data; - FCurve *fcu = list_find_fcurve(&strip->fcurves, RNA_property_identifier(prop), flag); + FCurve *fcu = list_find_fcurve(&strip->fcurves, RNA_property_identifier(prop), index); success = insert_keyframe_direct(op->reports, ptr, prop, fcu, cfra, 0); } |