[Bf-blender-cvs] [09eb11363e9] master: Use two decimal places for UI scale User Preference option
Julian Eisel
noreply at git.blender.org
Sun Jun 11 23:00:46 CEST 2017
Commit: 09eb11363e9fd3cf30b0445be7a3aedc5bdab810
Author: Julian Eisel
Date: Sun Jun 11 22:58:14 2017 +0200
Branches: master
https://developer.blender.org/rB09eb11363e9fd3cf30b0445be7a3aedc5bdab810
Use two decimal places for UI scale User Preference option
===================================================================
M source/blender/makesrna/intern/rna_userdef.c
===================================================================
diff --git a/source/blender/makesrna/intern/rna_userdef.c b/source/blender/makesrna/intern/rna_userdef.c
index d1e89ea18d0..c0f2dbd0706 100644
--- a/source/blender/makesrna/intern/rna_userdef.c
+++ b/source/blender/makesrna/intern/rna_userdef.c
@@ -3317,7 +3317,7 @@ static void rna_def_userdef_view(BlenderRNA *brna)
prop = RNA_def_property(srna, "ui_scale", PROP_FLOAT, PROP_FACTOR);
RNA_def_property_ui_text(prop, "UI Scale", "Changes the size of the fonts and buttons in the interface");
RNA_def_property_range(prop, 0.25f, 4.0f);
- RNA_def_property_ui_range(prop, 0.5f, 2.0f, 1, 1);
+ RNA_def_property_ui_range(prop, 0.5f, 2.0f, 1, 2);
RNA_def_property_float_default(prop, 1.0f);
RNA_def_property_update(prop, 0, "rna_userdef_dpi_update");
More information about the Bf-blender-cvs
mailing list