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:
authorPhilipp Oeser <info@graphics-engineer.com>2019-12-29 00:53:13 +0300
committerPhilipp Oeser <info@graphics-engineer.com>2020-01-02 14:46:43 +0300
commit9583932538a7fe7d40d18200b7b22a25b87535d9 (patch)
treee1c3e35811d9d5717757c6889a8e568b50ad07c4 /source/blender/blenkernel/intern/nla.c
parent87e7ad197ddf6e18bc95530e996e52ec07983fc0 (diff)
Fix T70986: NLA strip Animated Influence does not respect Default Interpolation
Since we are already respecting the User Preference for 'auto_smoothing' in 'BKE_nlastrip_validate_fcurves', we should also do this for default interpolation and handles. Maniphest Tasks: T70986 Differential Revision: https://developer.blender.org/D6490
Diffstat (limited to 'source/blender/blenkernel/intern/nla.c')
-rw-r--r--source/blender/blenkernel/intern/nla.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/nla.c b/source/blender/blenkernel/intern/nla.c
index 09581debd99..7aa8837d139 100644
--- a/source/blender/blenkernel/intern/nla.c
+++ b/source/blender/blenkernel/intern/nla.c
@@ -1499,6 +1499,10 @@ void BKE_nlastrip_validate_fcurves(NlaStrip *strip)
fcu->bezt->vec[1][0] = strip->start;
fcu->bezt->vec[1][1] = strip->influence;
+
+ /* Respect User Preferences for default interpolation and handles. */
+ fcu->bezt->h1 = fcu->bezt->h2 = U.keyhandles_new;
+ fcu->bezt->ipo = U.ipo_new;
}
}