Keymap: move grease pencil Alt-C to 2.7x map

This has been removed from the default map, so don't use elsewhere.
This commit is contained in:
Campbell Barton 2019-01-26 12:56:56 +11:00
parent 1b6da95ccb
commit 9b40da94a3
1 changed files with 6 additions and 2 deletions

View File

@ -2946,8 +2946,6 @@ def km_grease_pencil_stroke_edit_mode(params):
("gpencil.paste", {"type": 'V', "value": 'PRESS', "ctrl": True}, None),
# Snap
op_menu("GPENCIL_MT_snap", {"type": 'S', "value": 'PRESS', "shift": True}),
# Convert to geometry
("gpencil.convert", {"type": 'C', "value": 'PRESS', "alt": True}, None),
# Show/hide
("gpencil.reveal", {"type": 'H', "value": 'PRESS', "alt": True}, None),
("gpencil.hide", {"type": 'H', "value": 'PRESS'},
@ -2994,6 +2992,12 @@ def km_grease_pencil_stroke_edit_mode(params):
("gpencil.paste", {"type": 'V', "value": 'PRESS', "oskey": True}, None),
])
if params.legacy:
items.extend([
# Convert to geometry
("gpencil.convert", {"type": 'C', "value": 'PRESS', "alt": True}, None),
])
return keymap