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
This commit is contained in:
parent
87e7ad197d
commit
9583932538
Notes:
blender-bot
2023-02-14 01:21:16 +01:00
Referenced by issue #70986, NLA strip Animated Influence does not respect Default Interpolation
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue