Blender Git Loki

Git Commits -> Revision cb0fe17

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)

4 Modified Paths:

/source/blender/blenkernel/BKE_asset_catalog.hh (+1, -0) (Diff)
/source/blender/blenkernel/CMakeLists.txt (+4, -1) (Diff)
/source/blender/blenkernel/intern/asset_catalog.cc (+11, -2) (Diff)
/source/blender/editors/space_file/filelist.c (+2, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021