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>2015-01-12 03:42:20 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-01-12 03:46:44 +0300
commitf9c7cbd989c7ef82e46a997e2a3940e6f9e73213 (patch)
tree9f68c246de49f9ed0dd4e34cc956b10e87072651 /source/blender/modifiers/intern/MOD_laplaciansmooth.c
parent1864253db06957ec344e6504b1c33e7f83cdaa99 (diff)
revert part of 7a1dc20
These warnings are false positives & confuses intended logic to set dummy values.
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 06a25056e49..6f33bfa73fc 100644
--- a/source/blender/modifiers/intern/MOD_laplaciansmooth.c
+++ b/source/blender/modifiers/intern/MOD_laplaciansmooth.c
@@ -457,7 +457,7 @@ static void validate_solution(LaplacianSystem *sys, short flag, float lambda, fl
{
int i;
float lam;
- float vini = 0.0f, vend;
+ float vini, vend;
if (flag & MOD_LAPLACIANSMOOTH_PRESERVE_VOLUME) {
vini = compute_volume(sys->vertexCos, sys->mfaces, sys->numFaces);