Industry Compat keymap: Use consistent shortcuts for sculpt mode masking

Use Ctrl-A and Ctrl-Shift-A for 'selecting' and 'deselecting' via the masking operators.
This commit is contained in:
William Reynish
2019-12-05 15:30:43 +09:00
parent de7622b4b6
commit 722b8e4692

View File

@@ -3006,8 +3006,10 @@ def km_sculpt(params):
("object.subdivision_set", {"type": 'PAGE_DOWN', "value": 'PRESS'},
{"properties": [("level", -1), ("relative", True)]}),
# Mask
("paint.mask_flood_fill", {"type": 'M', "value": 'PRESS', "alt": True},
("paint.mask_flood_fill", {"type": 'A', "value": 'PRESS', "ctrl": True},
{"properties": [("mode", 'VALUE'), ("value", 0.0)]}),
("paint.mask_flood_fill", {"type": 'A', "value": 'PRESS', "ctrl": True, "shift": True},
{"properties": [("mode", 'VALUE'), ("value", 1.0)]}),
("paint.mask_flood_fill", {"type": 'I', "value": 'PRESS', "ctrl": True},
{"properties": [("mode", 'INVERT')]}),
("paint.mask_lasso_gesture", {"type": 'LEFTMOUSE', "value": 'PRESS', "shift": True, "ctrl": True}, None),