Page Menu
Home
Search
Configure Global Search
Log In
Files
F11641
decimate-ratio-not-percentage-24489-emil.patch
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Authored By
Emil Brink (emil)
Nov 13 2013, 2:26 PM
Size
649 B
Subscribers
None
decimate-ratio-not-percentage-24489-emil.patch
View Options
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
Details
Mime Type
text/x-diff
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
29/89/194d33a38dbf837709dfc2bc75c2
Event Timeline
Log In to Comment