diff options
author | Joshua Leung <aligorith@gmail.com> | 2012-06-03 02:47:33 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2012-06-03 02:47:33 +0400 |
commit | f69cec4596f3444863a8c683dc64ed7c29824a94 (patch) | |
tree | 57f64ba1290579426983698bad309f66d750aaa1 /source/blender/blenkernel | |
parent | 76af5fb50d303e96ead71fa63eaf71aa49a5ee4e (diff) |
Compile fix - "spf" was undefined
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/intern/collision.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/collision.c b/source/blender/blenkernel/intern/collision.c index ddb01875767..32e9dd7508b 100644 --- a/source/blender/blenkernel/intern/collision.c +++ b/source/blender/blenkernel/intern/collision.c @@ -332,7 +332,7 @@ static int cloth_collision_response_static ( ClothModifierData *clmd, CollisionM // DG: this formula ineeds to be changed for this code since we apply impulses/repulses like this: // v += impulse; x_new = x + v; // We don't use dt!! - /* float spf = (float)clmd->sim_parms->stepsPerFrame / clmd->sim_parms->timescale; */ /* XXX UNUSED */ + float spf = (float)clmd->sim_parms->stepsPerFrame / clmd->sim_parms->timescale; float d = clmd->coll_parms->epsilon*8.0f/9.0f + epsilon2*8.0f/9.0f - collpair->distance; if ( d > ALMOST_ZERO) { |