diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2015-07-05 11:53:21 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2015-07-05 11:55:59 +0300 |
commit | 2b63ec2894e6c91c8f0405a84d03f6fdd56f87c9 (patch) | |
tree | 13eeee55a69c5029d2dd47c35fa0961247266c6c /source/blender/makesrna/intern | |
parent | 6de7f3c747af35566e2f5822f8e379f19998dbe0 (diff) |
Fix T45319: Set same precision for 3D cursor location as other locations (objects', vertices', etc.).
Diffstat (limited to 'source/blender/makesrna/intern')
-rw-r--r-- | source/blender/makesrna/intern/rna_space.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_space.c b/source/blender/makesrna/intern/rna_space.c index 20a6bd67dea..2447c626ec6 100644 --- a/source/blender/makesrna/intern/rna_space.c +++ b/source/blender/makesrna/intern/rna_space.c @@ -2355,7 +2355,7 @@ static void rna_def_space_view3d(BlenderRNA *brna) RNA_def_property_float_funcs(prop, "rna_View3D_CursorLocation_get", "rna_View3D_CursorLocation_set", NULL); RNA_def_property_ui_text(prop, "3D Cursor Location", "3D cursor location for this view (dependent on local view setting)"); - RNA_def_property_ui_range(prop, -10000.0, 10000.0, 10, 4); + RNA_def_property_ui_range(prop, -10000.0, 10000.0, 1, RNA_TRANSLATION_PREC_DEFAULT); RNA_def_property_update(prop, NC_SPACE | ND_SPACE_VIEW3D, NULL); prop = RNA_def_property(srna, "lens", PROP_FLOAT, PROP_UNIT_CAMERA); |