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-12-15 12:34:14 +11:00
2020-06-13 16:20:09 +10:00
2020-12-15 10:27:36 +11:00
2020-11-06 17:33:13 +01:00
2020-12-11 16:20:53 +01:00
2020-07-03 18:18:16 +02:00
2020-11-12 19:27:12 +01:00
2020-09-09 15:43:27 +02:00
2020-12-15 12:34:25 +11:00
2020-12-15 17:03:00 +01:00
2020-12-10 10:50:37 -06:00
2020-12-02 15:38:47 +01:00
2020-09-08 16:14:33 +10:00
2020-10-10 22:04:51 +11:00
2020-12-15 17:03:48 +01:00
2020-12-15 17:03:48 +01:00
2020-12-15 12:34:14 +11:00
2020-11-01 21:10:36 +01:00
2020-12-15 12:34:14 +11:00
2020-10-03 16:10:15 +02:00
2020-11-03 11:40:29 +01:00
2020-11-03 11:40:29 +01:00
2020-09-09 15:43:27 +02:00
2020-08-07 09:50:34 +02:00
2020-10-10 22:04:51 +11:00
2020-10-10 22:04:51 +11:00
2020-11-06 12:32:54 +11:00
2020-09-04 21:04:16 +02:00
2020-10-26 18:16:30 +11:00
2020-12-11 12:15:51 -06:00
2020-09-09 15:43:27 +02:00
2020-09-30 20:11:06 +10:00
2020-11-06 14:10:31 +01:00
2020-12-15 12:34:25 +11:00
2020-12-11 23:08:29 +01:00
2020-10-26 18:16:30 +11:00
2020-12-14 16:14:38 +01:00
2020-09-16 10:20:38 -05:00
2020-11-06 12:32:54 +11:00
2020-11-25 15:18:18 +01:00
2020-12-08 12:20:27 +11:00
2020-09-16 10:20:38 -05:00
2020-09-02 19:10:40 +02:00
2020-11-06 12:32:54 +11:00
2020-08-07 09:50:34 +02:00
2020-09-09 16:36:57 +02:00
2020-09-09 16:36:57 +02:00
2020-12-15 12:42:10 +01:00
2020-11-22 12:11:15 -05:00
2020-12-15 12:34:14 +11:00
2020-09-22 11:00:24 -03:00
2020-08-07 13:38:06 +02:00
2020-10-27 21:45:55 +11:00
2020-10-14 15:12:40 +11:00
2020-11-09 16:19:49 +01:00
2020-12-03 11:20:21 +01:00
2020-11-23 12:48:04 +01:00
2020-11-28 15:54:18 +03:00
2020-12-02 15:38:47 +01:00
2020-11-27 10:15:20 +01:00
2020-12-14 11:37:01 +01:00
2020-12-11 18:00:37 +01:00
2020-12-15 12:34:14 +11:00
2020-12-15 12:34:25 +11:00
2020-12-15 12:34:25 +11:00
2020-12-06 22:27:28 +01:00
2020-12-02 15:38:47 +01:00
2020-12-15 17:03:45 +01:00
2020-12-15 12:34:14 +11:00
2020-10-27 20:12:42 -05:00
2020-12-15 12:34:14 +11:00
2020-10-28 09:03:42 -07:00
2020-11-17 12:58:26 -05:00
2020-09-09 16:36:57 +02:00
2020-12-15 12:34:14 +11:00
2020-12-14 20:44:26 +11:00
2020-12-14 11:37:01 +01:00
2020-11-06 18:08:25 +01:00
2020-11-24 16:05:58 +01:00
2020-11-03 11:40:29 +01:00
2020-12-04 10:50:06 +01:00
2020-11-16 16:48:44 +11:00
2020-12-04 08:46:34 +01:00
2020-12-15 17:03:00 +01:00
2020-12-15 17:03:00 +01:00
2020-08-07 09:50:34 +02:00
2020-11-30 17:19:27 +01:00
2020-08-07 13:38:06 +02:00
2020-12-15 12:34:14 +11:00
2020-11-03 11:40:29 +01:00
2020-11-03 11:40:29 +01:00
2020-11-03 11:40:29 +01:00
2020-12-10 14:40:01 +11:00
2020-10-27 21:45:55 +11:00
2020-06-29 17:28:04 +02:00
2020-09-09 16:36:57 +02:00
2020-09-09 16:36:57 +02:00
2020-11-03 11:40:29 +01:00
2020-11-03 11:40:29 +01:00
2020-11-06 12:54:19 +11:00
2020-11-03 11:40:29 +01:00
2020-12-14 13:08:02 +01:00
2020-10-23 13:56:55 +11: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-10-27 21:45:55 +11:00
2020-09-04 11:26:26 +02:00
2020-11-30 19:47:42 +01:00
2020-10-18 10:56:39 +02:00
2020-10-27 21:45:55 +11:00
2020-12-09 16:29:11 +01:00
2020-07-29 17:36:46 +02:00
2020-12-14 11:37:01 +01:00
2020-12-15 12:34:25 +11:00
2020-11-16 12:23:05 +01:00
2020-11-24 12:40:42 +01:00
2020-10-27 10:31:48 +01:00
2020-08-08 13:38:00 +10:00
2020-11-24 12:40:42 +01:00
2020-10-23 16:30:13 +02:00
2020-10-27 10:31:48 +01:00
2020-10-23 16:30:13 +02:00
2020-10-27 10:31:48 +01:00
2020-10-27 10:31:48 +01:00
2020-08-08 13:38:00 +10:00
2020-08-07 09:50:34 +02:00
2020-10-27 10:31:48 +01:00
2020-10-27 10:31:48 +01:00
2020-12-15 12:34:25 +11:00
2020-12-15 12:17:31 +01:00
2020-10-27 21:45:55 +11:00
2020-12-11 18:00:37 +01:00
2020-08-08 13:38:00 +10:00
2020-12-15 12:34:14 +11:00
2020-12-15 12:34:14 +11:00
2020-10-20 12:47:58 -05:00
2020-11-09 16:19:49 +01:00
2020-10-10 22:04:51 +11:00
2020-11-13 20:32:15 +11:00
2020-11-06 14:10:31 +01:00
2020-12-15 12:34:14 +11:00
2020-12-15 12:34:14 +11:00
2020-12-15 12:34:14 +11:00
2020-12-15 12:34:14 +11:00
2020-10-27 21:45:55 +11:00
2020-08-07 09:50:34 +02:00
2020-11-30 23:35:39 +01:00
2020-12-02 15:38:47 +01:00
2020-12-15 12:42:10 +01:00
2020-12-15 17:03:48 +01:00
2020-10-10 22:04:51 +11:00
2020-12-15 12:34:14 +11:00
2020-12-15 17:03:48 +01:00
2020-11-06 16:42:50 +01:00
2020-10-22 17:08:37 -04:00
2020-12-02 15:38:47 +01:00
2020-12-15 12:01:45 +01:00
2020-12-14 11:37:01 +01:00
2020-11-03 11:40:29 +01:00
2020-09-05 17:49:14 +02:00
2020-09-04 16:23:08 +02:00
2020-10-15 19:37:56 +02:00
2020-08-07 09:50:34 +02:00
2020-08-12 17:23:56 +02:00
2020-11-10 15:32:06 +01:00
2020-09-24 18:08:45 +02:00
2020-08-12 17:23:56 +02:00
2020-08-07 09:50:34 +02:00
2020-10-11 13:00:49 -04:00
2020-10-01 17:43:41 +02:00
2020-09-30 20:11:06 +10:00
2020-12-15 12:34:25 +11:00
2020-11-09 16:19:49 +01:00
2020-12-07 13:25:53 +11:00
2020-10-28 10:21:07 +01:00
2020-11-25 09:37:24 +01:00
2020-11-23 09:23:19 +01:00
2020-12-03 14:51:11 +01:00
2020-12-10 14:40:01 +11:00
2020-11-06 12:32:54 +11:00
2020-11-06 12:50:03 -06:00
2020-11-09 21:31:13 +05:30
2020-12-14 11:37:01 +01:00
2020-11-03 11:40:29 +01:00
2020-11-03 11:40:29 +01:00
2020-10-19 07:17:13 +02:00