diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-06-05 08:26:37 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-06-05 08:26:37 +0300 |
commit | ffaf271ab904cc7220a3f858bab64c441c1fbdc0 (patch) | |
tree | 739cc7b4431f7b2e515bc2b02b2f55628392f4f5 /source/blender/makesrna | |
parent | aca40295e8ac868b6e3aec40bbcd388177508c1f (diff) |
BMesh: decimator, allow vgroup factor over 1
Can be useful to apply more extreme weighting
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r-- | source/blender/makesrna/intern/rna_modifier.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/makesrna/intern/rna_modifier.c b/source/blender/makesrna/intern/rna_modifier.c index 6f1f6f97a15..2b3062f6874 100644 --- a/source/blender/makesrna/intern/rna_modifier.c +++ b/source/blender/makesrna/intern/rna_modifier.c @@ -1507,10 +1507,10 @@ static void rna_def_modifier_decimate(BlenderRNA *brna) RNA_def_property_ui_text(prop, "Triangulate", "Keep triangulated faces resulting from decimation (collapse only)"); RNA_def_property_update(prop, 0, "rna_Modifier_update"); - prop = RNA_def_property(srna, "vertex_group_factor", PROP_FLOAT, PROP_FACTOR); + prop = RNA_def_property(srna, "vertex_group_factor", PROP_FLOAT, PROP_NONE); RNA_def_property_float_sdna(prop, NULL, "defgrp_factor"); - RNA_def_property_range(prop, 0, 1.0f); - RNA_def_property_ui_range(prop, 0, 1, 1, 4); + RNA_def_property_range(prop, 0, 1000); + RNA_def_property_ui_range(prop, 0, 10, 1, 4); RNA_def_property_ui_text(prop, "Factor", "Vertex group strength"); RNA_def_property_update(prop, 0, "rna_Modifier_update"); /* end collapse-only option */ |