Node Wrangler: Fix T65202: keymap conflicts

Since CTRL+LMB is now taken by 'cut links' in blenders default keymap,
this was conflicting with nodewranglers 'lazy connect' and unfortunately
we have to step aside here.

This commit shifts shortcuts:

lazy connect (CTRL+LMB --> ALT+RMB)
lazy connect with menu (CTRL+SHIFT+LMB --> ALT+SHIFT+RMB)
lazy mix (ALT+RMB --> CTRL+SHIFT+RMB)

This keeps the two 'lazy Connect' on a common "base" key and just moves
'lazy mix'
This commit is contained in:
Philipp Oeser 2019-07-09 10:20:26 +02:00
parent 464e4a6b22
commit e08d6983c0
Notes: blender-bot 2023-02-14 19:14:26 +01:00
Referenced by issue #66778, The option of Alt + Left Button of the Node Wrangler Addon does not work correctly
Referenced by issue #65202, Keymap conflict (Node Editor / Node Wrangler)
1 changed files with 3 additions and 3 deletions

View File

@ -4654,11 +4654,11 @@ kmi_defs = (
# Reload Images
(NWReloadImages.bl_idname, 'R', 'PRESS', False, False, True, None, "Reload images"),
# Lazy Mix
(NWLazyMix.bl_idname, 'RIGHTMOUSE', 'PRESS', False, False, True, None, "Lazy Mix"),
(NWLazyMix.bl_idname, 'RIGHTMOUSE', 'PRESS', True, True, False, None, "Lazy Mix"),
# Lazy Connect
(NWLazyConnect.bl_idname, 'RIGHTMOUSE', 'PRESS', True, False, False, (('with_menu', False),), "Lazy Connect"),
(NWLazyConnect.bl_idname, 'RIGHTMOUSE', 'PRESS', False, False, True, (('with_menu', False),), "Lazy Connect"),
# Lazy Connect with Menu
(NWLazyConnect.bl_idname, 'RIGHTMOUSE', 'PRESS', True, True, False, (('with_menu', True),), "Lazy Connect with Socket Menu"),
(NWLazyConnect.bl_idname, 'RIGHTMOUSE', 'PRESS', False, True, True, (('with_menu', True),), "Lazy Connect with Socket Menu"),
# Viewer Tile Center
(NWViewerFocus.bl_idname, 'LEFTMOUSE', 'DOUBLE_CLICK', False, False, False, None, "Set Viewers Tile Center"),
# Align Nodes