Blender Git Loki

Git Commits -> Revision 8861c5f

Revision 8861c5f by Alexander Gavrilov (smooth-curves)
April 29, 2017, 18:53 (GMT)
Reimplement curve smoothing in a clear way without premature optimizations.

The original code tries too hard to avoid allocating more memory, which
reduces clarity and is not necessary here as there aren't that many
f-curve keyframes in any case. Rewriting the code with a generic solver
somehow fixed the behavior of the curve in the totally unclamped case,
which suggests that there was a bug hidden in the optimizations.

In addition, the new solver allows treating the case when an Auto curve
segment ends at a Vector handle specially as a zero acceleration boundary
condition.

Commit Details:

Full Hash: 8861c5fd35f5eae97a36d3d188299cca1eeab02c
Parent Commit: df8deb0
Lines Changed: +210, -153

3 Modified Paths:

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