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 c606044157
. I haven't
heard of that issue happening in the Industry Compatible keymap. But if
it did happen, it should be fixed too now.
This commit is contained in:
parent
228d79b789
commit
36f5967b99
Notes:
blender-bot
2023-02-14 08:47:25 +01:00
Referenced by issue #93650, Unable to drag library assets to catalogs, when in their current file
|
@ -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)]}),
|
||||
|
|
Loading…
Reference in New Issue