Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Eisel <julian@blender.org>2021-07-21 20:22:44 +0300
committerJulian Eisel <julian@blender.org>2021-07-21 20:35:39 +0300
commit10e28bd27017664064b1fb93f1ed347d6b404ae6 (patch)
tree32408fee2bad70af7eeb66f3f189cef8ae7612ee /source/blender/editors/space_file/filelist.h
parent8de2b6a02020ad0bc4e4ad7868988a37251e3f88 (diff)
Assets: Replace duplicated asset library reference type from DNA
Since recently it's possible to access assets from outside the File/Asset Browser, via the asset view template. So we are slowly moving away from file space specific code to dedicated asset system code. I introduced `AssetLibraryReference` as a duplicate of `FileSelectAssetLibraryUID`, with a plan to delete the latter in a separate cleanup commit. That's exactly what this commit is. This will cause Asset Browsers to open with the default "Current File" Asset Library. We could avoid that, but it's a minor issue really.
Diffstat (limited to 'source/blender/editors/space_file/filelist.h')
-rw-r--r--source/blender/editors/space_file/filelist.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_file/filelist.h b/source/blender/editors/space_file/filelist.h
index cb98cf6e74a..6915e853681 100644
--- a/source/blender/editors/space_file/filelist.h
+++ b/source/blender/editors/space_file/filelist.h
@@ -29,7 +29,7 @@ extern "C" {
struct BlendHandle;
struct FileList;
-struct FileSelectAssetLibraryUID;
+struct AssetLibraryReference;
struct FileSelection;
struct wmWindowManager;
@@ -73,7 +73,7 @@ void filelist_setfilter_options(struct FileList *filelist,
const char *filter_search);
void filelist_filter(struct FileList *filelist);
void filelist_setlibrary(struct FileList *filelist,
- const struct FileSelectAssetLibraryUID *asset_library);
+ const struct AssetLibraryReference *asset_library);
void filelist_init_icons(void);
void filelist_free_icons(void);