diff options
author | William Reynish <billrey@me.com> | 2019-05-08 15:54:05 +0300 |
---|---|---|
committer | William Reynish <billrey@me.com> | 2019-05-08 15:54:05 +0300 |
commit | 503ced78f3e8b4851ea118500095a01189e58112 (patch) | |
tree | b3d639b5207300d23d195d387b46fd7865fa8c95 | |
parent | 4a98e3378574404615e643ed640ce84dc41e32be (diff) |
Keymap: Make Clip Editor Graph view consistent with regular Graph Editor
Still missing a context menu here for now though
-rw-r--r-- | release/scripts/presets/keyconfig/keymap_data/blender_default.py | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/release/scripts/presets/keyconfig/keymap_data/blender_default.py b/release/scripts/presets/keyconfig/keymap_data/blender_default.py index a708be115b8..bc001615bb9 100644 --- a/release/scripts/presets/keyconfig/keymap_data/blender_default.py +++ b/release/scripts/presets/keyconfig/keymap_data/blender_default.py @@ -2747,7 +2747,6 @@ def km_clip_graph_editor(params): ) items.extend([ - ("clip.change_frame", {"type": params.action_mouse, "value": 'PRESS'}, None), ("clip.graph_select", {"type": params.select_mouse, "value": 'PRESS'}, {"properties": [("extend", False)]}), ("clip.graph_select", {"type": params.select_mouse, "value": 'PRESS', "shift": True}, @@ -2777,6 +2776,15 @@ def km_clip_graph_editor(params): ("transform.rotate", {"type": 'R', "value": 'PRESS'}, None), ]) + if params.select_mouse == 'LEFTMOUSE' and not params.legacy: + items.extend([ + ("clip.change_frame", {"type": 'RIGHTMOUSE', "value": 'PRESS', "shift": True}, None), + ]) + else: + items.extend([ + ("clip.change_frame", {"type": params.action_mouse, "value": 'PRESS'}, None), + ]) + return keymap |