[Bf-blender-cvs] [60d735d] master: Use high precision for scene scale
Campbell Barton
noreply at git.blender.org
Wed Feb 17 10:44:24 CET 2016
Commit: 60d735df146d0eae6979d8c3627a141fb195449f
Author: Campbell Barton
Date: Wed Feb 17 20:31:11 2016 +1100
Branches: master
https://developer.blender.org/rB60d735df146d0eae6979d8c3627a141fb195449f
Use high precision for scene scale
Without this its possible to accidentally truncate the value.
===================================================================
M source/blender/makesrna/intern/rna_scene.c
===================================================================
diff --git a/source/blender/makesrna/intern/rna_scene.c b/source/blender/makesrna/intern/rna_scene.c
index 95433d3..e0f3708 100644
--- a/source/blender/makesrna/intern/rna_scene.c
+++ b/source/blender/makesrna/intern/rna_scene.c
@@ -2723,7 +2723,7 @@ static void rna_def_unit_settings(BlenderRNA *brna)
prop = RNA_def_property(srna, "scale_length", PROP_FLOAT, PROP_UNSIGNED);
RNA_def_property_ui_text(prop, "Unit Scale", "Scale to use when converting between blender units and dimensions");
RNA_def_property_range(prop, 0.00001, 100000.0);
- RNA_def_property_ui_range(prop, 0.001, 100.0, 0.1, 3);
+ RNA_def_property_ui_range(prop, 0.001, 100.0, 0.1, 6);
RNA_def_property_update(prop, NC_WINDOW, NULL);
prop = RNA_def_property(srna, "use_separate", PROP_BOOLEAN, PROP_NONE);
More information about the Bf-blender-cvs
mailing list