From 6ee21ceefb709fa877d85fabe5d3700edbbfbc84 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Mon, 1 Nov 2010 21:53:35 +0000 Subject: [PATCH] Fix #24489: decimate modifier: undecimated is "ratio 1.00%". Patch by Emil Brink, thanks! --- source/blender/makesrna/intern/rna_modifier.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/makesrna/intern/rna_modifier.c b/source/blender/makesrna/intern/rna_modifier.c index e83a17cc277..7fc07d6c193 100644 --- a/source/blender/makesrna/intern/rna_modifier.c +++ b/source/blender/makesrna/intern/rna_modifier.c @@ -811,7 +811,7 @@ static void rna_def_modifier_decimate(BlenderRNA *brna) RNA_def_struct_sdna(srna, "DecimateModifierData"); RNA_def_struct_ui_icon(srna, ICON_MOD_DECIM); - prop= RNA_def_property(srna, "ratio", PROP_FLOAT, PROP_PERCENTAGE); + prop= RNA_def_property(srna, "ratio", PROP_FLOAT, PROP_NONE); RNA_def_property_float_sdna(prop, NULL, "percent"); RNA_def_property_range(prop, 0, 1); RNA_def_property_ui_range(prop, 0, 1, 1, 2);