Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Leung <aligorith@gmail.com>2015-07-24 05:14:55 +0300
committerJoshua Leung <aligorith@gmail.com>2015-07-24 05:20:15 +0300
commit15cb94c65a071b1436a414fadb491662ad2886c1 (patch)
tree596e9eceee9d5123a691e6260ae47aeb93c28372
parentea3dae74d870864f6e9d329056ad2b219ae9f81c (diff)
Fix: NLA Strip properties cannot be keyframed if Visual Keying/Only Needed options are enabled
-rw-r--r--source/blender/editors/animation/keyframing.c2
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);
}