Fix T58657: blender 2.7 keymap Alt+A does not work for animation playback.
This commit is contained in:
@@ -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')]}),
|
||||
|
Reference in New Issue
Block a user