UI: Add 'Channels' region toggle in animation editors

This way users can also assign shortcut to it or add it to quick favourites.

Pull Request: https://projects.blender.org/blender/blender/pulls/117837
This commit is contained in:
Nika Kutsniashvili 2024-02-05 12:13:31 +01:00 committed by Pablo Vazquez
parent 2ba4f9f10b
commit f2c8f31a3c
4 changed files with 4 additions and 0 deletions

@ -377,6 +377,7 @@ class DOPESHEET_MT_view(Menu):
layout.prop(st, "show_region_ui") layout.prop(st, "show_region_ui")
layout.prop(st, "show_region_hud") layout.prop(st, "show_region_hud")
layout.prop(st, "show_region_channels")
layout.separator() layout.separator()
layout.operator("action.view_selected") layout.operator("action.view_selected")

@ -148,6 +148,7 @@ class GRAPH_MT_view(Menu):
layout.prop(st, "show_region_ui") layout.prop(st, "show_region_ui")
layout.prop(st, "show_region_hud") layout.prop(st, "show_region_hud")
layout.prop(st, "show_region_channels")
layout.separator() layout.separator()
layout.operator("graph.view_selected") layout.operator("graph.view_selected")

@ -114,6 +114,7 @@ class NLA_MT_view(Menu):
layout.prop(st, "show_region_ui") layout.prop(st, "show_region_ui")
layout.prop(st, "show_region_hud") layout.prop(st, "show_region_hud")
layout.prop(st, "show_region_channels")
layout.separator() layout.separator()
layout.operator("nla.view_selected") layout.operator("nla.view_selected")

@ -124,6 +124,7 @@ class TIME_MT_view(Menu):
st = context.space_data st = context.space_data
layout.prop(st, "show_region_hud") layout.prop(st, "show_region_hud")
layout.prop(st, "show_region_channels")
layout.separator() layout.separator()
# NOTE: "action" now, since timeline is in the dopesheet editor, instead of as own editor # NOTE: "action" now, since timeline is in the dopesheet editor, instead of as own editor