Page MenuHome

decimate-ratio-not-percentage-24489-emil.patch

Authored By
Emil Brink (emil)
Nov 13 2013, 2:26 PM
Size
649 B
Subscribers
None

decimate-ratio-not-percentage-24489-emil.patch

Index: source/blender/makesrna/intern/rna_modifier.c
===================================================================
--- source/blender/makesrna/intern/rna_modifier.c (revision 32816)
+++ source/blender/makesrna/intern/rna_modifier.c (working copy)
@@ -811,7 +811,7 @@
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);

File Metadata

Mime Type
text/x-diff
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
29/89/194d33a38dbf837709dfc2bc75c2

Event Timeline