Blender Git Loki
Git Commits -> Revision cb0fe17
Revision cb0fe17 by Sybren A. Stüvel (temp-asset-browser-catalogs, temp-asset-browser-catalogs-ui, temp-assetlib-plus-uuid-rename) August 6, 2021, 15:11 (GMT) |
Assets: add AssetLibrary struct Add `AssetLibrary` struct that owns a pointer to an `AssetCatalogService`. The `struct AssetLibrary` is an opaque struct that C code can just pass around. It is created with `BKE_asset_library_load(library_path)` and freed with `BKE_asset_library_free(the_pointer)`. Note that this API is still experimental. |
Commit Details:
Full Hash: cb0fe170df651303373d1ba13b88fee07f97c723
Parent Commit: c120b25
Lines Changed: +232, -3
4 Added Paths:
/source/blender/blenkernel/BKE_asset_library.h (+36, -0) (View)
/source/blender/blenkernel/intern/asset_library.cc (+49, -0) (View)
/source/blender/blenkernel/intern/asset_library.hh (+43, -0) (View)
/source/blender/blenkernel/intern/asset_library_test.cc (+86, -0) (View)
/source/blender/blenkernel/intern/asset_library.cc (+49, -0) (View)
/source/blender/blenkernel/intern/asset_library.hh (+43, -0) (View)
/source/blender/blenkernel/intern/asset_library_test.cc (+86, -0) (View)