UI: Remove property descriptions exactly the same as names

These two descriptions are exactly the same as the property names,
which only wastes people's time when reading tooltips
This commit is contained in:
Hans Goudey 2021-06-07 16:47:13 -05:00
parent d2aee304e8
commit 1ef33be2d4
1 changed files with 2 additions and 2 deletions

View File

@ -1837,7 +1837,7 @@ static void rna_def_curve(BlenderRNA *brna)
prop = RNA_def_property(srna, "texspace_location", PROP_FLOAT, PROP_TRANSLATION);
RNA_def_property_array(prop, 3);
RNA_def_property_ui_text(prop, "Texture Space Location", "Texture space location");
RNA_def_property_ui_text(prop, "Texture Space Location", "");
RNA_def_property_ui_range(prop, -FLT_MAX, FLT_MAX, 1, RNA_TRANSLATION_PREC_DEFAULT);
RNA_def_property_editable_func(prop, "rna_Curve_texspace_editable");
RNA_def_property_float_funcs(
@ -1847,7 +1847,7 @@ static void rna_def_curve(BlenderRNA *brna)
prop = RNA_def_property(srna, "texspace_size", PROP_FLOAT, PROP_XYZ);
RNA_def_property_array(prop, 3);
RNA_def_property_flag(prop, PROP_PROPORTIONAL);
RNA_def_property_ui_text(prop, "Texture Space Size", "Texture space size");
RNA_def_property_ui_text(prop, "Texture Space Size", "");
RNA_def_property_editable_func(prop, "rna_Curve_texspace_editable");
RNA_def_property_float_funcs(
prop, "rna_Curve_texspace_size_get", "rna_Curve_texspace_size_set", NULL);