Fix #108961: Wrong Label and Tooltip for Timeline

The property label on the Timeline for showing only channels
from selected objects was wrong,
indicating it shows only keyframes from selected channels.

This fixes it by using the same label and description as the dope sheet uses.

Pull Request: https://projects.blender.org/blender/blender/pulls/110569
This commit is contained in:
Christoph Lendenfeld
2023-08-03 14:16:08 +02:00
committed by Christoph Lendenfeld
parent 9b54e7cc7f
commit c4631644ee

View File

@@ -8161,10 +8161,8 @@ void RNA_def_scene(BlenderRNA *brna)
/* Timeline / Time Navigation settings */
prop = RNA_def_property(srna, "show_keys_from_selected_only", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_negative_sdna(prop, nullptr, "flag", SCE_KEYS_NO_SELONLY);
RNA_def_property_ui_text(prop,
"Only Keyframes from Selected Channels",
"Consider keyframes for active object and/or its selected bones only "
"(in timeline and when jumping between keyframes)");
RNA_def_property_ui_text(
prop, "Only Show Selected", "Only include channels relating to selected objects and data");
RNA_def_property_update(prop, NC_SCENE | ND_FRAME, nullptr);
/* Stamp */