Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Toenne <lukas.toenne@googlemail.com>2012-10-27 15:10:12 +0400
committerLukas Toenne <lukas.toenne@googlemail.com>2012-10-27 15:10:12 +0400
commit91584b0f0c1b56a9bc00a452836c9bef9d4cefd3 (patch)
tree92845493357c485a4bd5b8292e4bd1815291b10a /source/blender/modifiers/intern/MOD_laplaciansmooth.c
parentaeba4950c38ed7a93ddacca5a294bcc8bd6d291a (diff)
Fix for missing bracket in r51674.
Diffstat (limited to 'source/blender/modifiers/intern/MOD_laplaciansmooth.c')
-rw-r--r--source/blender/modifiers/intern/MOD_laplaciansmooth.c2
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)