forked from bartvdbraak/blender
Revert "Fix T71126: add old hotkeys to set start/end frame in the timeline to"
This caused T71483. Having timeline and dopesheet merged in 2.8 makes using S/E keys in timeline not work well. 2.7x keymap needs to fit with 2.8x internals, so probably 2.7x keymap will have to live with Ctrl+Home / Ctrl+End here. This reverts commit 4fbcbbfb967cb0fdff11dfc1646a1c55bca96f1d.
This commit is contained in:
parent
df4f29b928
commit
3316610785
@ -2855,17 +2855,6 @@ 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},
|
||||
@ -2873,6 +2862,8 @@ 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…
Reference in New Issue
Block a user