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:
authorThomas Dinges <blender@dingto.org>2013-01-23 18:19:01 +0400
committerThomas Dinges <blender@dingto.org>2013-01-23 18:19:01 +0400
commit456a2d9de7e54ccba73a954a7fed64cee33d1d56 (patch)
tree741791b5e06c6c440880fb79adfc0204b86d3772 /source/blender/makesrna/intern/rna_modifier.c
parentf0c313c8b65a5b6bc047b7e3e3448ef9fb5a1a2d (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/makesrna/intern/rna_modifier.c')
-rw-r--r--source/blender/makesrna/intern/rna_modifier.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_modifier.c b/source/blender/makesrna/intern/rna_modifier.c
index 825cd1ff19a..140dc48834a 100644
--- a/source/blender/makesrna/intern/rna_modifier.c
+++ b/source/blender/makesrna/intern/rna_modifier.c
@@ -1852,14 +1852,14 @@ static void rna_def_modifier_laplaciansmooth(BlenderRNA *brna)
prop = RNA_def_property(srna, "lambda_factor", PROP_FLOAT, PROP_NONE);
RNA_def_property_float_sdna(prop, NULL, "lambda");
RNA_def_property_range(prop, -FLT_MAX, FLT_MAX);
- RNA_def_property_ui_range(prop, -1000.0, 1000.0, 0.0000001, 6);
+ RNA_def_property_ui_range(prop, -1000.0, 1000.0, 5, 3);
RNA_def_property_ui_text(prop, "Lambda Factor", "Smooth factor effect");
RNA_def_property_update(prop, 0, "rna_Modifier_update");
prop = RNA_def_property(srna, "lambda_border", PROP_FLOAT, PROP_NONE);
RNA_def_property_float_sdna(prop, NULL, "lambda_border");
RNA_def_property_range(prop, -FLT_MAX, FLT_MAX);
- RNA_def_property_ui_range(prop, -1000.0, 1000.0, 0.0000001, 6);
+ RNA_def_property_ui_range(prop, -1000.0, 1000.0, 5, 3);
RNA_def_property_ui_text(prop, "Lambda Border", "Lambda factor in border");
RNA_def_property_update(prop, 0, "rna_Modifier_update");