Keymap: use release event instead of click
Minor change to last commit, prefer release as click depends on not moving the mouse cursor.
This commit is contained in:
parent
447dde3c72
commit
286909ded7
|
@ -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)],)]}),
|
||||
|
|
Loading…
Reference in New Issue