Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Reynish <billrey@me.com>2020-02-16 21:53:15 +0300
committerWilliam Reynish <billrey@me.com>2020-02-16 21:53:15 +0300
commitde0de9381d9b178b5d7efcc5bb14e06bf38e81ac (patch)
tree0ff8992846b73e3d38effa12d93b208df0d7d77e /release/scripts/presets/keyconfig/keymap_data/industry_compatible_data.py
parent70ff8f4a973109b7b2c6a67e6989978bf6553118 (diff)
IC keymap: Activate tools with MMB immediately on press rather than drag
There seems to have been no particular great reason why we were activating tools using a tweak event with MMB. This change makes it so tools are activated with a press event instead.
Diffstat (limited to 'release/scripts/presets/keyconfig/keymap_data/industry_compatible_data.py')
-rw-r--r--release/scripts/presets/keyconfig/keymap_data/industry_compatible_data.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/presets/keyconfig/keymap_data/industry_compatible_data.py b/release/scripts/presets/keyconfig/keymap_data/industry_compatible_data.py
index 0498b3467e8..596a3990e3c 100644
--- a/release/scripts/presets/keyconfig/keymap_data/industry_compatible_data.py
+++ b/release/scripts/presets/keyconfig/keymap_data/industry_compatible_data.py
@@ -3739,7 +3739,7 @@ def keymap_transform_tool_mmb(keymap):
km_items_new.append(kmi)
elif ty == 'EVT_TWEAK_L':
kmi = (kmi[0], kmi[1].copy(), kmi[2])
- kmi[1]["type"] = 'EVT_TWEAK_M'
+ kmi[1]["type"] = 'MIDDLEMOUSE'
km_items_new.append(kmi)
km_items.extend(km_items_new)