Fix T58657: blender 2.7 keymap Alt+A does not work for animation playback.
This commit is contained in:
parent
e571f0255f
commit
ae01a851a6
Notes:
blender-bot
2023-02-14 04:45:00 +01:00
Referenced by issue #58657, Blender 2.8 - 2.7x Keymap does not honor Alt A to play timeline
|
@ -152,6 +152,12 @@ def _template_items_select_actions(params, operator):
|
|||
(operator, {"type": 'I', "value": 'PRESS', "ctrl": True}, {"properties": [("action", 'INVERT')]}),
|
||||
(operator, {"type": 'A', "value": 'DOUBLE_CLICK'}, {"properties": [("action", 'DESELECT')]}),
|
||||
]
|
||||
elif params.legacy:
|
||||
# Alt+A is for playback in legacy keymap.
|
||||
return [
|
||||
(operator, {"type": 'A', "value": 'PRESS'}, {"properties": [("action", 'TOGGLE')]}),
|
||||
(operator, {"type": 'I', "value": 'PRESS', "ctrl": True}, {"properties": [("action", 'INVERT')]}),
|
||||
]
|
||||
else:
|
||||
return [
|
||||
(operator, {"type": 'A', "value": 'PRESS'}, {"properties": [("action", 'TOGGLE')]}),
|
||||
|
|
Loading…
Reference in New Issue