diff options
author | Hans Goudey <h.goudey@me.com> | 2020-09-25 17:51:13 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2020-09-25 17:51:13 +0300 |
commit | 90ce6dbf4c06e4c8b71e2a24cc3298c835aed0f9 (patch) | |
tree | d9bbb9ff66be042cc70fe85ec9c17500c0f3d235 | |
parent | 682e68b6ea65d8fda8eb0e8f4ec5104b1bd96bd2 (diff) |
UI: Improve curve geometry property tooltips
These tooltips mostly just repeated the property names, which is not
helpful at all. Changing that leaves space to be much more specific
about what the properties actually do.
Differential Revision: https://developer.blender.org/D8994
-rw-r--r-- | source/blender/makesrna/intern/rna_curve.c | 28 |
1 files changed, 18 insertions, 10 deletions
diff --git a/source/blender/makesrna/intern/rna_curve.c b/source/blender/makesrna/intern/rna_curve.c index b60da2c2260..2d6bf2897e0 100644 --- a/source/blender/makesrna/intern/rna_curve.c +++ b/source/blender/makesrna/intern/rna_curve.c @@ -1630,30 +1630,31 @@ static void rna_def_curve(BlenderRNA *brna) RNA_def_property_range(prop, 0, 32); RNA_def_property_ui_range(prop, 0, 32, 1.0, -1); RNA_def_property_ui_text( - prop, - "Bevel Resolution", - "Bevel resolution when depth is non-zero and no specific bevel object has been defined"); + prop, "Bevel Resolution", "The number of segments in each quarter-circle of the bevel"); RNA_def_property_update(prop, 0, "rna_Curve_bevel_resolution_update"); prop = RNA_def_property(srna, "offset", PROP_FLOAT, PROP_NONE | PROP_UNIT_LENGTH); RNA_def_property_float_sdna(prop, NULL, "width"); RNA_def_property_ui_range(prop, -1.0, 1.0, 0.1, 3); RNA_def_property_float_funcs(prop, "rna_Curve_offset_get", "rna_Curve_offset_set", NULL); - RNA_def_property_ui_text(prop, "Offset", "Offset the curve to adjust the width of a text"); + RNA_def_property_ui_text(prop, "Offset", "Distance to move the curve parallel to its normals"); RNA_def_property_update(prop, 0, "rna_Curve_update_data"); prop = RNA_def_property(srna, "extrude", PROP_FLOAT, PROP_NONE | PROP_UNIT_LENGTH); RNA_def_property_float_sdna(prop, NULL, "ext1"); RNA_def_property_ui_range(prop, 0, 100.0, 0.1, 3); RNA_def_property_range(prop, 0.0, FLT_MAX); - RNA_def_property_ui_text( - prop, "Extrude", "Amount of curve extrusion when not using a bevel object"); + RNA_def_property_ui_text(prop, + "Extrude", + "Length of the depth added in the local Z direction along the curve, " + "perpendicular to its normals"); RNA_def_property_update(prop, 0, "rna_Curve_update_data"); prop = RNA_def_property(srna, "bevel_depth", PROP_FLOAT, PROP_NONE | PROP_UNIT_LENGTH); RNA_def_property_float_sdna(prop, NULL, "ext2"); RNA_def_property_ui_range(prop, 0, 100.0, 0.1, 3); - RNA_def_property_ui_text(prop, "Bevel Depth", "Bevel depth when not using a bevel object"); + RNA_def_property_ui_text( + prop, "Bevel Depth", "Radius of the bevel geometry, not including extrusion"); RNA_def_property_update(prop, 0, "rna_Curve_update_data"); prop = RNA_def_property(srna, "resolution_u", PROP_INT, PROP_NONE); @@ -1661,7 +1662,10 @@ static void rna_def_curve(BlenderRNA *brna) RNA_def_property_clear_flag(prop, PROP_ANIMATABLE); RNA_def_property_range(prop, 1, 1024); RNA_def_property_ui_range(prop, 1, 64, 1, -1); - RNA_def_property_ui_text(prop, "Resolution U", "Surface resolution in U direction"); + RNA_def_property_ui_text( + prop, + "Resolution U", + "Number of computed points in the U direction between every pair of control points"); RNA_def_property_update(prop, 0, "rna_Curve_resolution_u_update_data"); prop = RNA_def_property(srna, "resolution_v", PROP_INT, PROP_NONE); @@ -1669,7 +1673,10 @@ static void rna_def_curve(BlenderRNA *brna) RNA_def_property_clear_flag(prop, PROP_ANIMATABLE); RNA_def_property_ui_range(prop, 1, 64, 1, -1); RNA_def_property_range(prop, 1, 1024); - RNA_def_property_ui_text(prop, "Resolution V", "Surface resolution in V direction"); + RNA_def_property_ui_text( + prop, + "Resolution V", + "The number of computed points in the V direction between every pair of control points"); RNA_def_property_update(prop, 0, "rna_Curve_resolution_v_update_data"); prop = RNA_def_property(srna, "render_resolution_u", PROP_INT, PROP_NONE); @@ -1705,7 +1712,8 @@ static void rna_def_curve(BlenderRNA *brna) RNA_def_property_pointer_sdna(prop, NULL, "bevobj"); RNA_def_property_flag(prop, PROP_EDITABLE); RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY); - RNA_def_property_ui_text(prop, "Bevel Object", "Curve object name that defines the bevel shape"); + RNA_def_property_ui_text( + prop, "Bevel Object", "The name of the Curve object that defines the bevel shape"); RNA_def_property_update(prop, 0, "rna_Curve_update_deps"); RNA_def_property_pointer_funcs(prop, "rna_Curve_bevelObject_get", |