Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Goudey <h.goudey@me.com>2021-01-13 04:14:57 +0300
committerHans Goudey <h.goudey@me.com>2021-01-13 04:14:57 +0300
commitb9e02eace69ebc003f3598b0ba1bf0682f21c411 (patch)
tree9577cd6034194e36571af7a8d2ee47f74928b7f9
parent6b5e4ad5899d87a183c4a3d5eb129f12d1aecd5c (diff)
UI: Clarify the property name of "F-Curve Visibility"
"F-Curve Visibility" is a bad UI label for a property that only affects the display of unselected F-Curves. This commit clarifies the property name by making it more specific with the word "Unselected", and by using the word "Opacity". "F-Curve" is redundant in the UI label anyway because it is included in the panel title. Resolves T82587 Differential Revision: https://developer.blender.org/D10027
-rw-r--r--release/scripts/startup/bl_ui/space_userpref.py2
-rw-r--r--source/blender/makesrna/intern/rna_userdef.c8
2 files changed, 5 insertions, 5 deletions
diff --git a/release/scripts/startup/bl_ui/space_userpref.py b/release/scripts/startup/bl_ui/space_userpref.py
index 31b0b915855..0b77d8a2538 100644
--- a/release/scripts/startup/bl_ui/space_userpref.py
+++ b/release/scripts/startup/bl_ui/space_userpref.py
@@ -542,7 +542,7 @@ class USERPREF_PT_animation_fcurves(AnimationPanel, CenterAlignMixIn, Panel):
flow = layout.grid_flow(row_major=False, columns=0, even_columns=True, even_rows=False, align=False)
- flow.prop(edit, "fcurve_unselected_alpha", text="F-Curve Visibility")
+ flow.prop(edit, "fcurve_unselected_alpha", text="Unselected Opacity")
flow.prop(edit, "fcurve_new_auto_smoothing", text="Default Smoothing Mode")
flow.prop(edit, "keyframe_new_interpolation_type", text="Default Interpolation")
flow.prop(edit, "keyframe_new_handle_type", text="Default Handles")
diff --git a/source/blender/makesrna/intern/rna_userdef.c b/source/blender/makesrna/intern/rna_userdef.c
index e8a86f277f2..f5a11719912 100644
--- a/source/blender/makesrna/intern/rna_userdef.c
+++ b/source/blender/makesrna/intern/rna_userdef.c
@@ -5066,10 +5066,10 @@ static void rna_def_userdef_edit(BlenderRNA *brna)
prop = RNA_def_property(srna, "fcurve_unselected_alpha", PROP_FLOAT, PROP_FACTOR);
RNA_def_property_float_sdna(prop, NULL, "fcu_inactive_alpha");
RNA_def_property_range(prop, 0.001f, 1.0f);
- RNA_def_property_ui_text(
- prop,
- "Unselected F-Curve Visibility",
- "Amount that unselected F-Curves stand out from the background (Graph Editor)");
+ RNA_def_property_ui_text(prop,
+ "Unselected F-Curve Opacity",
+ "The opacity of unselected F-Curves against the "
+ "background of the Graph Editor");
RNA_def_property_update(prop, NC_SPACE | ND_SPACE_GRAPH, NULL);
/* grease pencil */