diff options
Diffstat (limited to 'release/scripts/presets/keyconfig/keymap_data/blender_default.py')
-rw-r--r-- | release/scripts/presets/keyconfig/keymap_data/blender_default.py | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/release/scripts/presets/keyconfig/keymap_data/blender_default.py b/release/scripts/presets/keyconfig/keymap_data/blender_default.py index 6ad0ccf8a5f..8a86ece53ce 100644 --- a/release/scripts/presets/keyconfig/keymap_data/blender_default.py +++ b/release/scripts/presets/keyconfig/keymap_data/blender_default.py @@ -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: |