From c105c59bb4e00d88c688f63c699dc78c0be4592a Mon Sep 17 00:00:00 2001 From: Joshua Leung Date: Sat, 6 Feb 2016 00:59:32 +1300 Subject: Fix T46037: Moving keys in NLA tweak mode on offset actions results in Bezier handles getting stretched unreasonably Patch by Alexander Gavrilov (angavrilov) Reviewed by Joshua Leung (aligorith) --- source/blender/editors/animation/keyframes_general.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/editors/animation/keyframes_general.c') diff --git a/source/blender/editors/animation/keyframes_general.c b/source/blender/editors/animation/keyframes_general.c index 0e9e46bced0..bd8aa211c46 100644 --- a/source/blender/editors/animation/keyframes_general.c +++ b/source/blender/editors/animation/keyframes_general.c @@ -998,9 +998,9 @@ short paste_animedit_keys(bAnimContext *ac, ListBase *anim_data, totmatch++; if (adt) { - ANIM_nla_mapping_apply_fcurve(adt, ale->key_data, 0, 1); + ANIM_nla_mapping_apply_fcurve(adt, ale->key_data, 0, 0); paste_animedit_keys_fcurve(fcu, aci, offset, merge_mode, flip); - ANIM_nla_mapping_apply_fcurve(adt, ale->key_data, 1, 1); + ANIM_nla_mapping_apply_fcurve(adt, ale->key_data, 1, 0); } else { paste_animedit_keys_fcurve(fcu, aci, offset, merge_mode, flip); -- cgit v1.2.3