tornavis/doc
Julian Eisel c4dca65228 Asset Browser: Support dragging assets into catalogs
With this it is possible to select any number of assets in the Asset
Browser and drag them into catalogs. The assets will be moved to that
catalog then. However, this will only work in the "Current File" asset
library, since that is the only library that allows changing assets,
which is what's done here.

While dragging assets over the tree row, a tooltip is shown explaining
what's going to happen.

In preparation to this, the new UI tree-view API was already extended
with custom drop support, see 4ee2d9df42.

----

Changes here to the `wmDrag` code were needed to support dragging multiple
assets. Some of it is considered temporary because a) a proper #AssetHandle
design should replace some ugly parts of this patch and b) the multi-item
support in `wmDrag` isn't that great yet. The entire API will have to be
written anyway (see D4071).

Maniphest Tasks: T91573

Differential Revision: https://developer.blender.org/D12713

Reviewed by: Sybren Stüvel
2021-10-03 23:58:20 +02:00
..
blender_file_format Docs: Blend-File: Fix typo 2021-08-09 15:36:42 -04:00
doxygen Docs: update oxygen configuration to v1.9.1 2021-06-10 16:34:58 +10:00
guides Spelling fixes in comments and descriptions, patch by luzpaz 2019-07-31 14:27:35 +02:00
license CMake: clarify that the modules are licensed BSD 3-Clause 2020-08-12 18:49:16 +02:00
manpage Man Page: Fix spelling 2021-07-22 20:13:14 -04:00
python_api Asset Browser: Support dragging assets into catalogs 2021-10-03 23:58:20 +02:00