[Bf-blender-cvs] [6600fe0] master: Correction to last commit
Campbell Barton
noreply at git.blender.org
Mon Apr 28 21:48:41 CEST 2014
Commit: 6600fe0de5cacc023585ea2d618d0f5eca248d12
Author: Campbell Barton
Date: Tue Apr 29 05:48:25 2014 +1000
https://developer.blender.org/rB6600fe0de5cacc023585ea2d618d0f5eca248d12
Correction to last commit
===================================================================
M source/blender/blenlib/intern/easing.c
===================================================================
diff --git a/source/blender/blenlib/intern/easing.c b/source/blender/blenlib/intern/easing.c
index 6b702fe..90bdd3a 100644
--- a/source/blender/blenlib/intern/easing.c
+++ b/source/blender/blenlib/intern/easing.c
@@ -153,7 +153,7 @@ static float elastic_blend(float time, float change, float amplitude, float peri
if (change) {
/* Looks like a magic number,
* but this is a part of the sine curve we need to blend from */
- const float t = fabsf(period) / (32 * (float)M_PI);
+ const float t = fabsf(period) / (64 * (float)M_PI);
if (amplitude) {
f *= amplitude / fabsf(change);
}
More information about the Bf-blender-cvs
mailing list