Fix #115978: FCurve extrapolation ignored in NLA.

The fix in 9da88301ef forgot to add the `NLASTRIP_FLAG_NO_TIME_MAP` flag, and thus FCurve extrapolation on actions is ignored.

Pull Request: https://projects.blender.org/blender/blender/pulls/116382
This commit is contained in:
Nate Rupsis
2024-01-11 18:44:44 +01:00
parent 6438d0ad1f
commit d499710218

View File

@@ -3235,7 +3235,7 @@ static void animsys_create_action_track_strip(const AnimData *adt,
/* Must set NLASTRIP_FLAG_USR_INFLUENCE, or else the default setting overrides, and influence
* doesn't work.
*/
r_action_strip->flag |= NLASTRIP_FLAG_USR_INFLUENCE;
r_action_strip->flag |= NLASTRIP_FLAG_USR_INFLUENCE | NLASTRIP_FLAG_NO_TIME_MAP;
const bool tweaking = (adt->flag & ADT_NLA_EDIT_ON) != 0;
const bool soloing = (adt->flag & ADT_NLA_SOLO_TRACK) != 0;