Blender Git Loki
Git Commits -> Revision dbeab82
Revision dbeab82 by Jeroen Bakker (master) November 24, 2021, 07:21 (GMT) |
T91406: Asset Library Indexing Asset library indexing would store indexes of asset files to speed up asset library browsing. * Indexes are read when they are up to date ** Index should exist ** Index last modify data should be later than the file it indexes ** Index version should match * The index of a file containing no assets can be load without opening the index file. The size of the file should be below a 32 bytes. * Indexes are stored on a persistent cache folder. * Unused index files are automatically removed. The structure of the index files contains all data needed for browsing assets: ``` { "version": <file version number>, "entries": [{ "name": "<asset name>", "catalog_id": "<catalog_id>", "catalog_name": "<catalog_name>", "description": "<description>", "author": "<author>", "tags": ["<tag>"] }] } ``` Reviewed By: sybren, Severin Maniphest Tasks: T91406 Differential Revision: https://developer.blender.org/D12693 |
Commit Details:
Full Hash: dbeab82a89c4979b7e9e62e740938546394eca3e
Parent Commit: 16fc0da
Lines Changed: +1298, -31
5 Added Paths:
/source/blender/editors/asset/ED_asset_indexer.h (+50, -0) (View)
/source/blender/editors/asset/intern/asset_indexer.cc (+781, -0) (View)
/source/blender/editors/include/ED_file_indexer.h (+153, -0) (View)
/source/blender/editors/space_file/file_indexer.cc (+96, -0) (View)
/source/blender/editors/space_file/file_indexer.h (+36, -0) (View)
/source/blender/editors/asset/intern/asset_indexer.cc (+781, -0) (View)
/source/blender/editors/include/ED_file_indexer.h (+153, -0) (View)
/source/blender/editors/space_file/file_indexer.cc (+96, -0) (View)
/source/blender/editors/space_file/file_indexer.h (+36, -0) (View)
6 Modified Paths:
/source/blender/editors/asset/CMakeLists.txt (+2, -0) (Diff)
/source/blender/editors/asset/intern/asset_list.cc (+2, -0) (Diff)
/source/blender/editors/space_file/CMakeLists.txt (+3, -0) (Diff)
/source/blender/editors/space_file/filelist.c (+167, -31) (Diff)
/source/blender/editors/space_file/filelist.h (+2, -0) (Diff)
/source/blender/editors/space_file/space_file.c (+6, -0) (Diff)
/source/blender/editors/asset/intern/asset_list.cc (+2, -0) (Diff)
/source/blender/editors/space_file/CMakeLists.txt (+3, -0) (Diff)
/source/blender/editors/space_file/filelist.c (+167, -31) (Diff)
/source/blender/editors/space_file/filelist.h (+2, -0) (Diff)
/source/blender/editors/space_file/space_file.c (+6, -0) (Diff)