diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-07-01 09:03:13 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-07-01 09:04:17 +0300 |
commit | 6f61b6aa445b5a93b7bd8f156b0d0804c6b1d2d6 (patch) | |
tree | 290baaf33041628242ec70607709ebe88e3243ae /release | |
parent | 8eae674eee85931d7553bcfea7de17813ac9e70f (diff) |
Fix T66289: Default keymap conflict selecting curve/channels
The default keymap conflicted selecting by curves and channel.
Caused by 325b0ad2ed855
Revert to original keys, use click instead of press
to avoid conflicting with box-select.
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/presets/keyconfig/keymap_data/blender_default.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/release/scripts/presets/keyconfig/keymap_data/blender_default.py b/release/scripts/presets/keyconfig/keymap_data/blender_default.py index c888ce4402a..02596e0c033 100644 --- a/release/scripts/presets/keyconfig/keymap_data/blender_default.py +++ b/release/scripts/presets/keyconfig/keymap_data/blender_default.py @@ -1373,10 +1373,10 @@ def km_graph_editor(params): ("graph.clickselect", {"type": params.select_mouse, "value": 'PRESS', "shift": True, "ctrl": True, "alt": True}, {"properties": [("extend", True), ("column", False), ("curves", True)]}), ("graph.select_leftright", - {"type": params.select_mouse, "value": 'PRESS', "ctrl": True, "alt": not params.legacy}, + {"type": params.select_mouse, "value": 'PRESS' if params.legacy else 'CLICK', "ctrl": True}, {"properties": [("mode", 'CHECK'), ("extend", False)]}), ("graph.select_leftright", - {"type": params.select_mouse, "value": 'PRESS', "ctrl": True, "shift": True, "alt": not params.legacy}, + {"type": params.select_mouse, "value": 'PRESS' if params.legacy else 'CLICK', "ctrl": True, "shift": True}, {"properties": [("mode", 'CHECK'), ("extend", True)]}), ("graph.select_leftright", {"type": 'LEFT_BRACKET', "value": 'PRESS'}, {"properties": [("mode", 'LEFT'), ("extend", False)]}), @@ -1907,10 +1907,10 @@ def km_dopesheet(params): ("action.clickselect", {"type": params.select_mouse, "value": 'PRESS', "shift": True, "ctrl": True, "alt": True}, {"properties": [("extend", True), ("column", False), ("channel", True)]}), ("action.select_leftright", - {"type": params.select_mouse, "value": 'PRESS', "ctrl": True, "alt": not params.legacy}, + {"type": params.select_mouse, "value": 'PRESS' if params.legacy else 'CLICK', "ctrl": True}, {"properties": [("mode", 'CHECK'), ("extend", False)]}), ("action.select_leftright", - {"type": params.select_mouse, "value": 'PRESS', "ctrl": True, "shift": True, "alt": not params.legacy}, + {"type": params.select_mouse, "value": 'PRESS' if params.legacy else 'CLICK', "ctrl": True, "shift": True}, {"properties": [("mode", 'CHECK'), ("extend", True)]}), ("action.select_leftright", {"type": 'LEFT_BRACKET', "value": 'PRESS'}, {"properties": [("mode", 'LEFT'), ("extend", False)]}), @@ -2050,10 +2050,10 @@ def km_nla_editor(params): ("nla.click_select", {"type": params.select_mouse, "value": 'PRESS', "shift": True}, {"properties": [("extend", True)]}), ("nla.select_leftright", - {"type": params.select_mouse, "value": 'PRESS', "ctrl": True, "alt": not params.legacy}, + {"type": params.select_mouse, "value": 'PRESS' if params.legacy else 'CLICK', "ctrl": True}, {"properties": [("mode", 'CHECK'), ("extend", False)]}), ("nla.select_leftright", - {"type": params.select_mouse, "value": 'PRESS', "ctrl": True, "shift": True, "alt": not params.legacy}, + {"type": params.select_mouse, "value": 'PRESS' if params.legacy else 'CLICK', "ctrl": True, "shift": True}, {"properties": [("mode", 'CHECK'), ("extend", True)]}), ("nla.select_leftright", {"type": 'LEFT_BRACKET', "value": 'PRESS'}, {"properties": [("mode", 'LEFT'), ("extend", False)]}), @@ -2373,10 +2373,10 @@ def km_sequencer(params): ("sequencer.select", {"type": params.select_mouse, "value": 'PRESS', "shift": True, "alt": True}, {"properties": [("extend", True), ("linked_handle", True), ("left_right", 'NONE'), ("linked_time", False)]}), ("sequencer.select", - {"type": params.select_mouse, "value": 'PRESS', "ctrl": True, "alt": not params.legacy}, + {"type": params.select_mouse, "value": 'PRESS' if params.legacy else 'CLICK', "ctrl": True}, {"properties": [("linked_handle", False), ("left_right", 'MOUSE'), ("linked_time", True), ("extend", False)]}), ("sequencer.select", - {"type": params.select_mouse, "value": 'PRESS', "ctrl": True, "shift": True, "alt": not params.legacy}, + {"type": params.select_mouse, "value": 'PRESS' if params.legacy else 'CLICK', "ctrl": True, "shift": True}, {"properties": [("linked_handle", False), ("left_right", 'MOUSE'), ("linked_time", True), ("extend", True)]}), ("sequencer.select_more", {"type": 'NUMPAD_PLUS', "value": 'PRESS', "ctrl": True}, None), ("sequencer.select_less", {"type": 'NUMPAD_MINUS', "value": 'PRESS', "ctrl": True}, None), |