Files
test2/source/blender/blenkernel/intern
Julian Eisel 70474e1a7c Asset System: Prepare File Browser backend for the Asset Browser
The Asset Browser will be a sub-editor of the File Browser. This prepares the
File Browser code for that.

**File-Lists**
* Support loading assets with metadata read from external files into the
  file-list.
* New main based file-list type, for the "Current File" asset library.
* Refresh file-list when switching between browse modes or asset libraries.
* Support empty file-lists (asset library with no assets).
* Store file previews as icons, so scripts can reference them via icon-id. See
  previous commit.

**Space Data**
* Introduce "browse mode" to differeniate between file and asset browsing.
* Add `FileAssetSelectParams` to `SpaceFile`, with `FileSelectParams` as base.
  Makes sure data is separated between asset and file browsing when switching
  between them. The active params can be obtained through
  `ED_fileselect_get_active_params()`.
* `FileAssetSelectParams` stores the currently visible asset library ID.
* Introduce file history abstraction so file and asset browsing can keep a
  separate history (previous and next directories).

**General**
* Option to only show asset data-blocks while file browsing (not exposed here).
* Add "active_file" context member, so scripts can get and display info about
  the active file.
* Add "active_id" context member, so `ED_OT_lib_id_load_custom_preview` can set
  a custom ID preview. (Only for "Current File" asset library)
* Expose some of `FileDirEntry` in RNA as (non-editable). That way scripts can
  obtain name, preview icon and asset-data.

Part of the first Asset Browser milestone. Check the #asset_browser_milestone_1
project milestone on developer.blender.org.

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

Reviewed by: Bastien Montagne
2020-12-15 17:03:48 +01:00
..
2020-11-25 11:19:28 +01:00
2020-11-01 21:10:36 +01:00
2020-11-06 12:32:54 +11:00
2020-09-09 15:43:27 +02:00
2020-11-06 12:32:54 +11:00
2020-11-06 12:32:54 +11:00
2020-09-09 16:36:57 +02:00
2020-10-14 15:12:40 +11:00
2020-12-15 12:34:25 +11:00
2020-09-09 16:36:57 +02:00
2020-12-04 08:46:34 +01:00
2020-11-20 11:39:22 +11:00
2020-11-06 12:32:54 +11:00
2020-08-08 13:38:00 +10:00
2020-11-30 23:35:39 +01:00
2020-10-22 17:08:37 -04:00
2020-12-15 12:01:45 +01:00
2020-10-11 13:00:49 -04:00
2020-12-07 13:25:53 +11:00
2020-11-06 12:32:54 +11:00
2020-11-06 12:50:03 -06:00