Blender Git Loki

Git Commits -> Revision ed775ed

Revision ed775ed by Joshua Leung (master)
March 31, 2014, 11:24 (GMT)
Fix T39405: Make "amplitude" for elastic easing more intuitive to use

Previously, amplitude was more of an "absolute" value in the sense that whatever value
you set it to became a sort of "maximum bounce" height. However, it turns out that this
approach isn't so nice when dealing with large gaps between the values of two keyframes,
as the elastic easing equations expect that "amplitude > |change|" (where change is the
difference in values from key1 to key2).

Now, the "amplitude" value we pass to the easing functions are "|change| + amplitude".
This is easier to control, as now, as soon as you start changing that value, there are
immediately visible effects.

Commit Details:

Full Hash: ed775edeeb489e4710bb685a5fd47b16102eb87a
Parent Commit: 93aa9b3
Lines Changed: +3, -2

2 Modified Paths:

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