Blender Git Commit Log

Git Commits -> Revision 179e7ea

Revision 179e7ea by Joshua Leung (master)
June 19, 2014, 13:34 (GMT)
Bugfix for Elastic and Back easing types


As pointed out by Thomas Beck (plasmasolutions), the current behaviour and/or
default values for their parameters didn't quite make sense:

1) Back Easing - The old default value of 0.0 results in some overshoot being applied,
while trying to tweak it up or down resulted in some odd jumps and discontinities.

I've ended up removing some code here which forcibly using a "back" value of 1.7
when users wanted 0.0 instead. There doesn't seem to be any good reason for this.
To ensure that there is still an effect initially, keyframes now get created
with back set to 1.7

2) Elastic Easing - The old default settings of <amplitude = 0, period = 0> resulted
in a curve without any elastic bounce, which wasn't very useful for motion graphics.

Now, default values of amplitude = 0.8 and period = 4.1 get set. These were hand picked
by Thomas to work well when the duration of the motion is 10 frames long (i.e. the
typical length of such effects when doing motion graphics).

Commit Details:

Full Hash: 179e7eaf394481c10b66b4db762e8189aa5a0a2a
Parent Commit: f161695
Lines Changed: +11, -6

By: Miika HämäläinenLast update: Nov-07-2014 14:18 MiikaHweb | 2003-2019