diff options
-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) |