[Bf-blender-cvs] [017e0287842] master: Industry Compat keymap: Fix issue in UV editor Box Select tool

William Reynish noreply at git.blender.org
Sat Dec 14 17:16:44 CET 2019


Commit: 017e0287842577ae71f1e4287b070046b042857b
Author: William Reynish
Date:   Sat Dec 14 17:16:42 2019 +0100
Branches: master
https://developer.blender.org/rB017e0287842577ae71f1e4287b070046b042857b

Industry Compat keymap: Fix issue in UV editor Box Select tool

Shift-dragging with the Box Select tool would also select the nearest point.

Using a Click instead of Press event for selection (just like the default keymap) fixes this.

===================================================================

M	release/scripts/presets/keyconfig/keymap_data/industry_compatible_data.py

===================================================================

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 9ae5dbe071d..024ba6b9cf9 100644
--- a/release/scripts/presets/keyconfig/keymap_data/industry_compatible_data.py
+++ b/release/scripts/presets/keyconfig/keymap_data/industry_compatible_data.py
@@ -541,7 +541,7 @@ def km_uv_editor(params):
   
         ("uv.select", {"type": 'LEFTMOUSE', "value": 'CLICK'},
          {"properties": [("extend", False), ("deselect_all", True)]}),
-        ("uv.select", {"type": 'LEFTMOUSE', "value": 'PRESS', "shift": True},
+        ("uv.select", {"type": 'LEFTMOUSE', "value": 'CLICK', "shift": True},
          {"properties": [("extend", True), ("deselect_all", False)]}),
         ("transform.translate", {"type": "EVT_TWEAK_L", "value": 'ANY'}, None),
         ("uv.select_loop", {"type": 'LEFTMOUSE', "value": 'DOUBLE_CLICK', "shift": True},



More information about the Bf-blender-cvs mailing list