Keymap: add 'Adjust Last Operation' as F9

Adding this back was a frequent request.

Now the panel can be hidden - some users may prefer only to access this
via a shortcut.

Unfortunately this uses an F-Key we'd intended to keep free for users.

This still keeps the middle block of F-Keys (5..8) free.
This commit is contained in:
Campbell Barton 2019-04-19 09:49:36 +02:00
parent 65e21888b5
commit d297927958
1 changed files with 5 additions and 1 deletions

View File

@ -472,7 +472,11 @@ def km_screen(params):
("render.play_rendered_anim", {"type": 'F11', "value": 'PRESS', "ctrl": True}, None),
])
if params.legacy:
if not params.legacy:
items.extend([
("screen.redo_last", {"type": 'F9', "value": 'PRESS'}, None),
])
else:
# Old keymap
items.extend([
("ed.undo_history", {"type": 'Z', "value": 'PRESS', "ctrl": True, "alt": True}, None),