Fix #111432: Shortcut for cycling fallback tool not working
Add missing Keymap for cycling fallback tool in node editor to maintain consistency. Pull Request: https://projects.blender.org/blender/blender/pulls/112006
This commit is contained in:
committed by
Pratik Borhade
parent
73057cfd22
commit
9f4f50ef70
@@ -2126,6 +2126,10 @@ def km_node_editor(params):
|
||||
# Allow node selection with both for RMB select.
|
||||
if params.select_mouse == 'RIGHTMOUSE':
|
||||
items.extend(_template_node_select(type='LEFTMOUSE', value='PRESS', select_passthrough=True))
|
||||
else:
|
||||
items.extend([
|
||||
op_tool_cycle("builtin.select_box", {"type": 'W', "value": 'PRESS'}),
|
||||
])
|
||||
else:
|
||||
items.extend(_template_node_select(
|
||||
type='RIGHTMOUSE', value=params.select_mouse_value, select_passthrough=True))
|
||||
|
||||
Reference in New Issue
Block a user