Fix: NLA Strip properties cannot be keyframed if Visual Keying/Only Needed options are enabled

This commit is contained in:
Joshua Leung 2015-07-24 14:14:55 +12:00
parent ea3dae74d8
commit 15cb94c65a
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}