Industry Compat keymap: Fix loop selection
authorWilliam Reynish <billrey@me.com>
Tue, 16 Apr 2019 20:13:25 +0000 (22:13 +0200)
committerWilliam Reynish <billrey@me.com>
Tue, 16 Apr 2019 20:13:25 +0000 (22:13 +0200)
- Extending loops wasn't working correctly. This is now fixed.
- Also added ability to deselect loops by holding Ctrl and double-clicking

release/scripts/presets/keyconfig/keymap_data/industry_compatible_data.py

index be13b53..4eb13b2 100644 (file)
@@ -3004,7 +3004,9 @@ def km_mesh(params):
         ("mesh.loop_select", {"type": 'LEFTMOUSE', "value": 'DOUBLE_CLICK'},
          {"properties": [("extend", False), ("deselect", False), ("toggle", False)]}),
         ("mesh.loop_select", {"type": 'LEFTMOUSE', "value": 'DOUBLE_CLICK', "shift": True},
-         {"properties": [("extend", False), ("deselect", False), ("toggle", True)]}),
+         {"properties": [("extend", True), ("deselect", False), ("toggle", False)]}),
+        ("mesh.loop_select", {"type": 'LEFTMOUSE', "value": 'DOUBLE_CLICK', "ctrl": True},
+         {"properties": [("extend", False), ("deselect", True), ("toggle", False)]}),
         # Selection
         ("mesh.select_all", {"type": 'A', "value": 'PRESS', "ctrl": True}, {"properties": [("action", 'SELECT')]}),
         ("mesh.select_all", {"type": 'A', "value": 'PRESS', "ctrl": True, "shift": True}, {"properties": [("action", 'DESELECT')]}),