diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-10-23 10:37:58 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-10-23 10:37:58 +0400 |
commit | 13940cc78ece7b592a323123f31669034d73a833 (patch) | |
tree | 5572b9f14d9eb35b14dac9c8346115da07e44a36 /source/blender/makesrna | |
parent | a82af0d220835970f83c63ade5e1b2309a993ec5 (diff) |
fix for issues in new decimator
- when an edge exists across a quad, dont attempt to triangulate it. (such a case isn't so common anyway)
- silly mistake when checking if anything needed to be done in the modifier, percent was being checked for 1.0 even when not used.
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r-- | source/blender/makesrna/intern/rna_modifier.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_modifier.c b/source/blender/makesrna/intern/rna_modifier.c index 23d9a9065d5..1ec2c391efc 100644 --- a/source/blender/makesrna/intern/rna_modifier.c +++ b/source/blender/makesrna/intern/rna_modifier.c @@ -1143,7 +1143,7 @@ static void rna_def_modifier_decimate(BlenderRNA *brna) prop = RNA_def_property(srna, "iterations", PROP_INT, PROP_UNSIGNED); RNA_def_property_int_sdna(prop, NULL, "iter"); RNA_def_property_range(prop, 0, SHRT_MAX); - RNA_def_property_ui_range(prop, 1, 100, 1, 0); + RNA_def_property_ui_range(prop, 0, 100, 1, 0); RNA_def_property_ui_text(prop, "Iterations", "Number of times reduce the geometry (unsubdivide only)"); RNA_def_property_update(prop, 0, "rna_Modifier_update"); |