diff options
author | Lukas Toenne <lukas.toenne@googlemail.com> | 2012-10-27 15:10:12 +0400 |
---|---|---|
committer | Lukas Toenne <lukas.toenne@googlemail.com> | 2012-10-27 15:10:12 +0400 |
commit | 91584b0f0c1b56a9bc00a452836c9bef9d4cefd3 (patch) | |
tree | 92845493357c485a4bd5b8292e4bd1815291b10a /source/blender/modifiers | |
parent | aeba4950c38ed7a93ddacca5a294bcc8bd6d291a (diff) |
Fix for missing bracket in r51674.
Diffstat (limited to 'source/blender/modifiers')
-rw-r--r-- | source/blender/modifiers/intern/MOD_laplaciansmooth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/modifiers/intern/MOD_laplaciansmooth.c b/source/blender/modifiers/intern/MOD_laplaciansmooth.c index 83ab2382339..eb05cecd932 100644 --- a/source/blender/modifiers/intern/MOD_laplaciansmooth.c +++ b/source/blender/modifiers/intern/MOD_laplaciansmooth.c @@ -288,7 +288,7 @@ static float compute_volume(float (*vertexCos)[3], MFace *mfaces, int numFaces) vol += (1.0 / 6.0) * (x1 * y3 * z4 - x1 * y4 * z3 - x3 * y1 * z4 + x3 * z1 * y4 + y1 * x4 * z3 - x4 * y3 * z1); } } - return fabsfvol); + return fabsf(vol); } static void volume_preservation(LaplacianSystem *sys, float vini, float vend, short flag) |