mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Fix T71126: add old hotkeys to set start/end frame in the timeline to
Blender 27X keymap Maniphest Tasks: T71126 Differential Revision: https://developer.blender.org/D6151
This commit is contained in:
parent
bcac0ed977
commit
4fbcbbfb96
1 changed files with 11 additions and 2 deletions
|
|
@ -2855,6 +2855,17 @@ def km_animation(params):
|
|||
{"items": items},
|
||||
)
|
||||
|
||||
if not params.legacy:
|
||||
items.extend([
|
||||
("anim.start_frame_set", {"type": 'HOME', "value": 'PRESS', "ctrl": True}, None),
|
||||
("anim.end_frame_set", {"type": 'END', "value": 'PRESS', "ctrl": True}, None),
|
||||
])
|
||||
else:
|
||||
items.extend([
|
||||
("anim.start_frame_set", {"type": 'S', "value": 'PRESS'}, None),
|
||||
("anim.end_frame_set", {"type": 'E', "value": 'PRESS'}, None),
|
||||
])
|
||||
|
||||
items.extend([
|
||||
# Frame management.
|
||||
("wm.context_toggle", {"type": 'T', "value": 'PRESS', "ctrl": True},
|
||||
|
|
@ -2862,8 +2873,6 @@ def km_animation(params):
|
|||
# Preview range.
|
||||
("anim.previewrange_set", {"type": 'P', "value": 'PRESS'}, None),
|
||||
("anim.previewrange_clear", {"type": 'P', "value": 'PRESS', "alt": True}, None),
|
||||
("anim.start_frame_set", {"type": 'HOME', "value": 'PRESS', "ctrl": True}, None),
|
||||
("anim.end_frame_set", {"type": 'END', "value": 'PRESS', "ctrl": True}, None),
|
||||
])
|
||||
|
||||
if params.select_mouse == 'LEFTMOUSE' and not params.legacy:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue