Fix T45319: Set same precision for 3D cursor location as other locations (objects', vertices', etc.).

This commit is contained in:
Bastien Montagne 2015-07-05 10:53:21 +02:00
parent 6de7f3c747
commit 2b63ec2894
Notes: blender-bot 2023-02-14 08:55:41 +01:00
Referenced by issue #45319, Display precision of 3D cursor in View Properties (N) window is lower than tolerance of mirror editing
1 changed files with 1 additions and 1 deletions

View File

@ -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);