diff options
author | Germano Cavalcante <germano.costa@ig.com.br> | 2020-11-26 19:42:48 +0300 |
---|---|---|
committer | Germano Cavalcante <germano.costa@ig.com.br> | 2020-11-26 19:42:56 +0300 |
commit | 9add12ff05c9bbc8332b8d69d4f14193dd8409bf (patch) | |
tree | eeda35266260fd7eb8b2583f0655f002fc9205b6 /release/scripts/presets/keyconfig/keymap_data/blender_default.py | |
parent | dd0e2da00e35dce77a4064dfcad92432b0c40010 (diff) |
Transform: Improve event detection for AutoConstrain
The event "value" is not really required since this operation works as a toogle.
This change cleans and simplifies the code.
Diffstat (limited to 'release/scripts/presets/keyconfig/keymap_data/blender_default.py')
-rw-r--r-- | release/scripts/presets/keyconfig/keymap_data/blender_default.py | 4 |
1 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 d66d7c45dd4..20755fcf856 100644 --- a/release/scripts/presets/keyconfig/keymap_data/blender_default.py +++ b/release/scripts/presets/keyconfig/keymap_data/blender_default.py @@ -5037,8 +5037,8 @@ def km_transform_modal_map(_params): ("AUTOIK_CHAIN_LEN_UP", {"type": 'WHEELDOWNMOUSE', "value": 'PRESS', "shift": True}, None), ("AUTOIK_CHAIN_LEN_DOWN", {"type": 'WHEELUPMOUSE', "value": 'PRESS', "shift": True}, None), ("INSERTOFS_TOGGLE_DIR", {"type": 'T', "value": 'PRESS'}, None), - ("AUTOCONSTRAIN", {"type": 'MIDDLEMOUSE', "value": 'PRESS'}, None), - ("AUTOCONSTRAINPLANE", {"type": 'MIDDLEMOUSE', "value": 'PRESS', "shift": True}, None), + ("AUTOCONSTRAIN", {"type": 'MIDDLEMOUSE', "value": 'ANY'}, None), + ("AUTOCONSTRAINPLANE", {"type": 'MIDDLEMOUSE', "value": 'ANY', "shift": True}, None), ]) return keymap |