[Bf-blender-cvs] [2b63ec2] master: Fix T45319: Set same precision for 3D cursor location as other locations (objects', vertices', etc.).
Bastien Montagne
noreply at git.blender.org
Sun Jul 5 10:57:57 CEST 2015
Commit: 2b63ec2894e6c91c8f0405a84d03f6fdd56f87c9
Author: Bastien Montagne
Date: Sun Jul 5 10:53:21 2015 +0200
Branches: master
https://developer.blender.org/rB2b63ec2894e6c91c8f0405a84d03f6fdd56f87c9
Fix T45319: Set same precision for 3D cursor location as other locations (objects', vertices', etc.).
===================================================================
M source/blender/makesrna/intern/rna_space.c
===================================================================
diff --git a/source/blender/makesrna/intern/rna_space.c b/source/blender/makesrna/intern/rna_space.c
index 20a6bd6..2447c62 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);
More information about the Bf-blender-cvs
mailing list