Blender Git Loki

Git Commits -> Revision b83a8d6

Revision b83a8d6 by Sybren A. Stüvel (master)
May 1, 2020, 13:38 (GMT)
Cleanup: Animation, unify FCurve extrapolation

Previously there were two functions for FCurve extrapolation, one for
before the first keyframe, and the other for after the last. After the
previous cleanup made the variable names consistent, it was clear that
the code was almost identical. The biggest difference was in the sign of
many of the calculations, which was cancelled out by swapping `B-A` to
`A-B`. This showed that the computations are actually the same, and the
only remaining difference was which neighbouring handle to use in case
of B�zier curves.

No functional changes.

# Conflicts:
# source/blender/blenkernel/intern/fcurve.c

Commit Details:

Full Hash: b83a8d6fc43adc6d842f096ce8eaff0a95cd7e29
Parent Commit: f651548
Lines Changed: +14, -55

1 Modified Path:

/source/blender/blenkernel/intern/fcurve.c (+14, -55) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021