diff options
author | Philipp Oeser <info@graphics-engineer.com> | 2019-07-09 11:20:26 +0300 |
---|---|---|
committer | Philipp Oeser <info@graphics-engineer.com> | 2019-07-09 11:23:22 +0300 |
commit | e08d6983c05fde19b2cb21d1b01ea0939fc58b4f (patch) | |
tree | 748c2c93c90dff007a7fcfa22b131b38ea079bd3 | |
parent | 464e4a6b2289a7d9e6fada555c4bae75f20a8f4e (diff) |
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'
-rw-r--r-- | node_wrangler.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/node_wrangler.py b/node_wrangler.py index fa4b3d22..039d2170 100644 --- a/node_wrangler.py +++ b/node_wrangler.py @@ -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 |