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:
authorCampbell Barton <ideasman42@gmail.com>2013-01-18 10:26:06 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-01-18 10:26:06 +0400
commitee0eb394c9c4cbe9466ac76a35431288e4f80aa9 (patch)
treef9f962f573db9d28323acdfd237aea960f5f1407 /source/blender/modifiers/intern/MOD_laplaciansmooth.c
parent1a131171cb208d1f45d62c287fbe4fc5c3bbe42b (diff)
use openmp sections for felling origindex arrays
Diffstat (limited to 'source/blender/modifiers/intern/MOD_laplaciansmooth.c')
-rw-r--r--source/blender/modifiers/intern/MOD_laplaciansmooth.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/source/blender/modifiers/intern/MOD_laplaciansmooth.c b/source/blender/modifiers/intern/MOD_laplaciansmooth.c
index 2739365e619..62900af078e 100644
--- a/source/blender/modifiers/intern/MOD_laplaciansmooth.c
+++ b/source/blender/modifiers/intern/MOD_laplaciansmooth.c
@@ -521,11 +521,10 @@ static void fill_laplacian_matrix(LaplacianSystem *sys)
static void validate_solution(LaplacianSystem * sys, short flag, float lambda, float lambda_border)
{
- int i, idv1, idv2;
+ int i;
float lam;
- float leni, lene;
float vini, vend;
- float *vi1, *vi2, ve1[3], ve2[3];
+
if (flag & MOD_LAPLACIANSMOOTH_PRESERVE_VOLUME) {
vini = compute_volume(sys->vertexCos, sys->mfaces, sys->numFaces);
}