diff options
author | Thomas Dinges <blender@dingto.org> | 2013-01-23 18:19:01 +0400 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2013-01-23 18:19:01 +0400 |
commit | 456a2d9de7e54ccba73a954a7fed64cee33d1d56 (patch) | |
tree | 741791b5e06c6c440880fb79adfc0204b86d3772 /source/blender/modifiers/intern/MOD_laplaciansmooth.c | |
parent | f0c313c8b65a5b6bc047b7e3e3448ef9fb5a1a2d (diff) |
Fix for [#33959] laplacian smooth gui buggy
* Made the property UI range do bigger steps.
* Increased default values a bit. If people need extreme small values (0.00001) they can enter that manually.
Diffstat (limited to 'source/blender/modifiers/intern/MOD_laplaciansmooth.c')
-rw-r--r-- | source/blender/modifiers/intern/MOD_laplaciansmooth.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/modifiers/intern/MOD_laplaciansmooth.c b/source/blender/modifiers/intern/MOD_laplaciansmooth.c index 631b875dc8d..62da82a2af1 100644 --- a/source/blender/modifiers/intern/MOD_laplaciansmooth.c +++ b/source/blender/modifiers/intern/MOD_laplaciansmooth.c @@ -197,8 +197,8 @@ static LaplacianSystem *init_laplacian_system(int a_numEdges, int a_numFaces, in static void init_data(ModifierData *md) { LaplacianSmoothModifierData *smd = (LaplacianSmoothModifierData *) md; - smd->lambda = 0.00001f; - smd->lambda_border = 0.00005f; + smd->lambda = 0.01f; + smd->lambda_border = 0.01f; smd->repeat = 1; smd->flag = MOD_LAPLACIANSMOOTH_X | MOD_LAPLACIANSMOOTH_Y | MOD_LAPLACIANSMOOTH_Z | MOD_LAPLACIANSMOOTH_PRESERVE_VOLUME | MOD_LAPLACIANSMOOTH_NORMALIZED; smd->defgrp_name[0] = '\0'; |