diff options
author | William Reynish <billrey@me.com> | 2019-06-08 16:24:47 +0300 |
---|---|---|
committer | William Reynish <billrey@me.com> | 2019-06-08 16:24:47 +0300 |
commit | 81b68f7279cd1eb2d4e215520784c0e68367d395 (patch) | |
tree | 1c3e188e89ccb7a5e5663cd66138434e2576cc84 /release/scripts | |
parent | 749d53effd58267408df01d6eba0a9e1f4e70b2a (diff) |
Industry Compat keymap: Fix nodes interaction
- Dragging to move, scale and setting links now works normally and correctly
Diffstat (limited to 'release/scripts')
-rw-r--r-- | release/scripts/presets/keyconfig/keymap_data/industry_compatible_data.py | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/release/scripts/presets/keyconfig/keymap_data/industry_compatible_data.py b/release/scripts/presets/keyconfig/keymap_data/industry_compatible_data.py index 7e573d899dd..1ae27169ee6 100644 --- a/release/scripts/presets/keyconfig/keymap_data/industry_compatible_data.py +++ b/release/scripts/presets/keyconfig/keymap_data/industry_compatible_data.py @@ -1037,12 +1037,11 @@ def km_node_editor(params): {"properties": [("mode", 'ADD')]}), ("node.select_lasso", {"type": 'EVT_TWEAK_L', "value": 'ANY', "shift": True, "ctrl": True, "alt": True}, {"properties": [("mode", 'SUB')]}), - ("node.select_circle", {"type": 'C', "value": 'PRESS'}, None), - ("node.link", {"type": 'LEFTMOUSE', "value": 'PRESS'}, + ("node.link", {"type": 'EVT_TWEAK_L', "value": 'ANY'}, {"properties": [("detach", False)]}), - ("node.link", {"type": 'LEFTMOUSE', "value": 'PRESS', "ctrl": True}, + ("node.link", {"type": 'EVT_TWEAK_L', "value": 'ANY', "ctrl": True}, {"properties": [("detach", True)]}), - ("node.resize", {"type": 'LEFTMOUSE', "value": 'PRESS'}, None), + ("node.resize", {"type": 'EVT_TWEAK_L', "value": 'ANY'}, None), ("node.add_reroute", {"type": params.action_tweak, "value": 'ANY', "shift": True}, None), ("node.links_cut", {"type": params.action_tweak, "value": 'ANY', "ctrl": True}, None), ("node.select_link_viewer", {"type": 'LEFTMOUSE', "value": 'PRESS', "shift": True, "ctrl": True}, None), @@ -1096,8 +1095,6 @@ def km_node_editor(params): {"properties": [("release_confirm", True)]}), ("transform.translate", {"type": 'EVT_TWEAK_L', "value": 'ANY'}, {"properties": [("release_confirm", True)]}), - ("transform.translate", {"type": 'EVT_TWEAK_L', "value": 'ANY'}, - {"properties": [("release_confirm", True)]}), ("transform.rotate", {"type": 'E', "value": 'PRESS'}, None), ("transform.resize", {"type": 'R', "value": 'PRESS'}, None), ("node.move_detach_links_release", {"type": params.action_tweak, "value": 'ANY', "alt": True}, None), |