UI: Movie Clip Editor: Add Overlays Support

Move several clip and mask display options into a common Overlays popover,
consistent with other editors. Includes a global toggle (Shift-Alt-Z) to
show/hide all overlays at once.

Also adds the missing annotations toggle, cursor visibility toggle, and moves mask display options in
the Image Editor into the Overlays popover due to shared code paths.

See PR for images.

Pull Request: https://projects.blender.org/blender/blender/pulls/145895
This commit is contained in:
Aaron Carlisle
2025-09-24 23:51:06 +02:00
committed by Aaron Carlisle
parent e0392599f8
commit 18d0532915
15 changed files with 201 additions and 58 deletions

View File

@@ -3543,6 +3543,8 @@ def km_clip_editor(params):
("clip.cursor_set", params.cursor_set_event, None),
("clip.copy_tracks", {"type": 'C', "value": 'PRESS', "ctrl": True}, None),
("clip.paste_tracks", {"type": 'V', "value": 'PRESS', "ctrl": True}, None),
("wm.context_toggle", {"type": 'Z', "value": 'PRESS', "alt": True, "shift": True},
{"properties": [("data_path", "space_data.overlay.show_overlays")]}),
*_template_items_context_menu("CLIP_MT_tracking_context_menu", params.context_menu_event),
])