forked from bartvdbraak/blender
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
This commit is contained in:
parent
6b5e4ad589
commit
b9e02eace6
@ -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")
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user