Fix #155855: Industry Compatible keybind conflict in Sculpt mode

`Alt-LMB` is bound to Orbiting in the 3D viewport, this keybind was also
used for the quick mask brush usage in Sculpt Mode, preventing the
former from working.

Switch the mask keybind to `Ctrl-Alt-LMB` and the invert mask keybind
to `Shift-Ctrl-Alt-LMB` to avoid this.

Pull Request: https://projects.blender.org/blender/blender/pulls/155900
This commit is contained in:
Sean Kim 2026-03-19 18:52:36 +01:00 • committed by Sean Kim
parent 5790fb710d
commit 5cff8bcf95

View file

@ -2932,9 +2932,9 @@ def km_sculpt(params):
{"properties": [("mode", 'INVERT')]}),
("sculpt.brush_stroke", {"type": 'LEFTMOUSE', "value": 'PRESS', "shift": True},
{"properties": [("brush_toggle", 'SMOOTH')]}),
("sculpt.brush_stroke", {"type": 'LEFTMOUSE', "value": 'PRESS', "alt": True},
{"properties": [("brush_toggle", 'MASK')]}),
("sculpt.brush_stroke", {"type": 'LEFTMOUSE', "value": 'PRESS', "ctrl": True, "alt": True},
{"properties": [("brush_toggle", 'MASK')]}),
("sculpt.brush_stroke", {"type": 'LEFTMOUSE', "value": 'PRESS', "shift": True, "ctrl": True, "alt": True},
{"properties": [("mode", 'INVERT'), ("brush_toggle", 'MASK')]}),
# Expand
("sculpt.expand", {"type": 'A', "value": 'PRESS', "shift": True},