Animation: Make dopesheet filter labels consistent
There are three different label styles for the three Dopesheet filter labels: - "Display Hidden", which uses "Display" rather than "Show" as the other two options. - "Show Errors", which does not use the word "only" to indicate it will hide all the non-error channels. - "Only Selected", so no "show" or "display" in the label at all. This commit changes: - Always use the word "Show", not "Display". - Always use the word "Only" when enabling the filter hides everything else. Reviewed By: billreynish Differential Revision: https://developer.blender.org/D7742
This commit is contained in:
@@ -345,14 +345,14 @@ static void rna_def_dopesheet(BlenderRNA *brna)
|
||||
prop = RNA_def_property(srna, "show_only_selected", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "filterflag", ADS_FILTER_ONLYSEL);
|
||||
RNA_def_property_ui_text(
|
||||
prop, "Only Selected", "Only include channels relating to selected objects and data");
|
||||
prop, "Only Show Selected", "Only include channels relating to selected objects and data");
|
||||
RNA_def_property_ui_icon(prop, ICON_RESTRICT_SELECT_OFF, 0);
|
||||
RNA_def_property_update(prop, NC_ANIMATION | ND_ANIMCHAN | NA_EDITED, NULL);
|
||||
|
||||
prop = RNA_def_property(srna, "show_hidden", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "filterflag", ADS_FILTER_INCL_HIDDEN);
|
||||
RNA_def_property_ui_text(
|
||||
prop, "Display Hidden", "Include channels from objects/bone that are not visible");
|
||||
prop, "Show Hidden", "Include channels from objects/bone that are not visible");
|
||||
RNA_def_property_ui_icon(prop, ICON_OBJECT_HIDDEN, 0);
|
||||
RNA_def_property_update(prop, NC_ANIMATION | ND_ANIMCHAN | NA_EDITED, NULL);
|
||||
|
||||
@@ -368,8 +368,9 @@ static void rna_def_dopesheet(BlenderRNA *brna)
|
||||
/* Debug Filtering Settings */
|
||||
prop = RNA_def_property(srna, "show_only_errors", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "filterflag", ADS_FILTER_ONLY_ERRORS);
|
||||
RNA_def_property_ui_text(
|
||||
prop, "Show Errors", "Only include F-Curves and drivers that are disabled or have errors");
|
||||
RNA_def_property_ui_text(prop,
|
||||
"Only Show Errors",
|
||||
"Only include F-Curves and drivers that are disabled or have errors");
|
||||
RNA_def_property_ui_icon(prop, ICON_ERROR, 0);
|
||||
RNA_def_property_update(prop, NC_ANIMATION | ND_ANIMCHAN | NA_EDITED, NULL);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user