[Bf-blender-cvs] [15cb94c] master: Fix: NLA Strip properties cannot be keyframed if Visual Keying/Only Needed options are enabled
Joshua Leung
noreply at git.blender.org
Fri Jul 24 04:24:39 CEST 2015
Commit: 15cb94c65a071b1436a414fadb491662ad2886c1
Author: Joshua Leung
Date: Fri Jul 24 14:14:55 2015 +1200
Branches: master
https://developer.blender.org/rB15cb94c65a071b1436a414fadb491662ad2886c1
Fix: NLA Strip properties cannot be keyframed if Visual Keying/Only Needed options are enabled
===================================================================
M source/blender/editors/animation/keyframing.c
===================================================================
diff --git a/source/blender/editors/animation/keyframing.c b/source/blender/editors/animation/keyframing.c
index 85ea552..46997f9 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);
}
More information about the Bf-blender-cvs
mailing list