[Bf-blender-cvs] [c61afade6bf] cycles_oneapi: Fix T93650: Asset drag into catalogs broken, Industry Compatible keymap

Julian Eisel noreply at git.blender.org
Wed Jun 29 10:38:36 CEST 2022


Commit: c61afade6bffa85a90da68097692aa47bed4c6d2
Author: Julian Eisel
Date:   Mon Jun 27 15:24:42 2022 +0200
Branches: cycles_oneapi
https://developer.blender.org/rBc61afade6bffa85a90da68097692aa47bed4c6d2

Fix T93650: Asset drag into catalogs broken, Industry Compatible keymap

Issue was that the Industry Compatible keymap wouldn't select files on a
mouse press, and since the dragged items are determined by the
selection, nothing would be considered as dragged.

Selecting items on mouse press happens since c606044157a3. I haven't
heard of that issue happening in the Industry Compatible keymap. But if
it did happen, it should be fixed too now.

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

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 84602ece647..d60bbfed67a 100644
--- a/release/scripts/presets/keyconfig/keymap_data/industry_compatible_data.py
+++ b/release/scripts/presets/keyconfig/keymap_data/industry_compatible_data.py
@@ -1246,8 +1246,7 @@ def km_file_browser_main(params):
         # The two refresh operators have polls excluding each other (so only one is available depending on context).
         ("file.refresh", {"type": 'R', "value": 'PRESS', "ctrl": True}, None),
         ("asset.library_refresh", {"type": 'R', "value": 'PRESS', "ctrl": True}, None),
-        ("file.select", {"type": 'LEFTMOUSE', "value": 'DOUBLE_CLICK'}, None),
-        ("file.select", {"type": 'LEFTMOUSE', "value": 'CLICK'},
+        ("file.select", {"type": 'LEFTMOUSE', "value": 'PRESS'},
          {"properties": [("open", False), ("deselect_all", True)]}),
         ("file.select", {"type": 'LEFTMOUSE', "value": 'CLICK', "ctrl": True},
          {"properties": [("extend", True), ("open", False)]}),



More information about the Bf-blender-cvs mailing list