diff options
author | William Reynish <billrey@me.com> | 2019-06-15 21:09:15 +0300 |
---|---|---|
committer | William Reynish <billrey@me.com> | 2019-06-15 21:09:15 +0300 |
commit | 2696c85ba7ceca4008976c4b6ae47bda0535a305 (patch) | |
tree | 34d5270c24e6dfb0aeec226f34d1af9bbdeb7a5d /release | |
parent | 2db35ff03aeb55d37064fb4b4b6ff64a0a6ab902 (diff) |
Fix: Clicking in empty area in Node Editor was no longer deselecting all.
There was a missing keymap property on the select operator for both the default and Industry Compatible keymap
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/presets/keyconfig/keymap_data/blender_default.py | 2 | ||||
-rw-r--r-- | release/scripts/presets/keyconfig/keymap_data/industry_compatible_data.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/presets/keyconfig/keymap_data/blender_default.py b/release/scripts/presets/keyconfig/keymap_data/blender_default.py index 970178faf35..dd6c33934df 100644 --- a/release/scripts/presets/keyconfig/keymap_data/blender_default.py +++ b/release/scripts/presets/keyconfig/keymap_data/blender_default.py @@ -1579,7 +1579,7 @@ def km_node_editor(params): def node_select_ops(select_mouse): return [ ("node.select", {"type": select_mouse, "value": 'PRESS'}, - {"properties": [("extend", False)]}), + {"properties": [("extend", False), ("deselect_all", True)]}), ("node.select", {"type": select_mouse, "value": 'PRESS', "ctrl": True}, {"properties": [("extend", False)]}), ("node.select", {"type": select_mouse, "value": 'PRESS', "alt": True}, 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 41d22ebbcb4..0a070118069 100644 --- a/release/scripts/presets/keyconfig/keymap_data/industry_compatible_data.py +++ b/release/scripts/presets/keyconfig/keymap_data/industry_compatible_data.py @@ -1009,7 +1009,7 @@ def km_node_editor(params): def node_select_ops(select_mouse): return [ ("node.select", {"type": select_mouse, "value": 'PRESS'}, - {"properties": [("extend", False)]}), + {"properties": [("extend", False), ("deselect_all", True)]}), ("node.select", {"type": select_mouse, "value": 'PRESS', "ctrl": True}, {"properties": [("extend", False)]}), ("node.select", {"type": select_mouse, "value": 'PRESS', "alt": True}, |