diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-09-23 09:59:13 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-09-23 09:59:13 +0300 |
commit | 286909ded74390e3ad5d97560fa6ff34012acce8 (patch) | |
tree | 2f241e7029987d10426e4a01d826a533d84087ea | |
parent | 447dde3c72bdc64167518aba65696ef7b355d24e (diff) |
Keymap: use release event instead of click
Minor change to last commit, prefer release as click depends on
not moving the mouse cursor.
-rw-r--r-- | release/scripts/presets/keyconfig/keymap_data/blender_default.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/release/scripts/presets/keyconfig/keymap_data/blender_default.py b/release/scripts/presets/keyconfig/keymap_data/blender_default.py index ba9bdca70e6..bb428cc8cba 100644 --- a/release/scripts/presets/keyconfig/keymap_data/blender_default.py +++ b/release/scripts/presets/keyconfig/keymap_data/blender_default.py @@ -4349,8 +4349,8 @@ def km_sculpt(params): ) items.extend([ - # Switch Object (click to avoid conflict with grease pencil drawing). - ("object.switch_object", {"type": 'D', "value": 'CLICK'}, None), + # Switch Object (release to avoid conflict with grease pencil drawing). + ("object.switch_object", {"type": 'D', "value": 'RELEASE'}, None), # Brush strokes ("sculpt.brush_stroke", {"type": 'LEFTMOUSE', "value": 'PRESS'}, {"properties": [("mode", 'NORMAL')]}), @@ -4467,8 +4467,8 @@ def km_mesh(params): ) items.extend([ - # Switch Object (click to avoid conflict with grease pencil drawing). - ("object.switch_object", {"type": 'D', "value": 'CLICK'}, None), + # Switch Object (release to avoid conflict with grease pencil drawing). + ("object.switch_object", {"type": 'D', "value": 'RELEASE'}, None), # Tools. ("mesh.loopcut_slide", {"type": 'R', "value": 'PRESS', "ctrl": True}, {"properties": [("TRANSFORM_OT_edge_slide", [("release_confirm", False)],)]}), |