[Bf-blender-cvs] [d55231e5a1d] master: UI: Clarify 3D View Grid Size Tooltip

Hans Goudey noreply at git.blender.org
Tue Mar 10 14:45:39 CET 2020


Commit: d55231e5a1d9cf8ec47ec691cafdb3453e6b98ed
Author: Hans Goudey
Date:   Tue Mar 10 08:42:39 2020 -0500
Branches: master
https://developer.blender.org/rBd55231e5a1d9cf8ec47ec691cafdb3453e6b98ed

UI: Clarify 3D View Grid Size Tooltip

The 3D view grid size property is a multiplier, not the size of the grid itself.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D7085

===================================================================

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 02dd625c7e3..89e1babde7d 100644
--- a/source/blender/makesrna/intern/rna_space.c
+++ b/source/blender/makesrna/intern/rna_space.c
@@ -3460,7 +3460,8 @@ static void rna_def_space_view3d_overlay(BlenderRNA *brna)
 
   prop = RNA_def_property(srna, "grid_scale", PROP_FLOAT, PROP_NONE);
   RNA_def_property_float_sdna(prop, NULL, "grid");
-  RNA_def_property_ui_text(prop, "Grid Scale", "Distance between 3D View grid lines");
+  RNA_def_property_ui_text(
+      prop, "Grid Scale", "Multiplier for the distance between 3D View grid lines");
   RNA_def_property_range(prop, 0.0f, FLT_MAX);
   RNA_def_property_ui_range(prop, 0.001f, 1000.0f, 0.1f, 3);
   RNA_def_property_update(prop, NC_SPACE | ND_SPACE_VIEW3D, NULL);



More information about the Bf-blender-cvs mailing list