Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2016-02-17 12:31:11 +0300
committerCampbell Barton <ideasman42@gmail.com>2016-02-17 12:36:35 +0300
commit60d735df146d0eae6979d8c3627a141fb195449f (patch)
tree6fb4dcc801db55e0e6d22a2c145dfca6f8e1b3cc /source
parent8d95178c0bef5f3bd0e3425ca2b45d5474e5f70a (diff)
Use high precision for scene scale
Without this its possible to accidentally truncate the value.
Diffstat (limited to 'source')
-rw-r--r--source/blender/makesrna/intern/rna_scene.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_scene.c b/source/blender/makesrna/intern/rna_scene.c
index 95433d32646..e0f3708b338 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);