Keymap: use Alt-Q instead of D for transfer mode operator
This now works in all modes (not just sculpt) and activates on press instead of release. See design task T89757.
This commit is contained in:
parent
757ec00f83
commit
c614eadb47
Notes:
blender-bot
2023-02-14 10:04:50 +01:00
Referenced by issue #92406, It is not possible to set a hotkey to Transfer Sculpt Mode Referenced by issue #89757, Revert view menu pie keybinding change and put Transfer Mode on Alt+Q
|
@ -4508,8 +4508,6 @@ def km_sculpt(params):
|
|||
)
|
||||
|
||||
items.extend([
|
||||
# Transfer Sculpt Mode (release to avoid conflict with grease pencil drawing).
|
||||
("object.transfer_mode", {"type": 'D', "value": 'RELEASE'}, None),
|
||||
# Brush strokes
|
||||
("sculpt.brush_stroke", {"type": 'LEFTMOUSE', "value": 'PRESS'},
|
||||
{"properties": [("mode", 'NORMAL')]}),
|
||||
|
@ -5053,6 +5051,12 @@ def km_object_non_modal(params):
|
|||
("object.origin_set", {"type": 'C', "value": 'PRESS', "shift": True, "ctrl": True, "alt": True}, None),
|
||||
])
|
||||
else:
|
||||
items.extend([
|
||||
# Transfer Sculpt Mode (release to avoid conflict with grease pencil drawing).
|
||||
# NOTE: this shortcut (while not temporary) is not ideal, see: T89757.
|
||||
("object.transfer_mode", {"type": 'Q', "value": 'PRESS', "alt": True}, None),
|
||||
])
|
||||
|
||||
if params.use_pie_click_drag:
|
||||
items.extend([
|
||||
("object.mode_set", {"type": 'TAB', "value": 'CLICK'},
|
||||
|
|
Loading…
Reference in New Issue