Blender Git Commit Log

Git Commits -> Revision 784b97e

August 9, 2021, 15:01 (GMT)
Cleanup: Assets, move AssetLibrary struct to global namespace

Move `blender::bke::AssetLibrary` to the global namespace, causing the
C `struct AssetLibrary` to refer to the same object as the corresponding C++
struct.

Also move `intern/asset_library.hh` to `BKE_asset_library.hh`,
mimicking `BKE_geometry_set.hh`.

This makes the C and C++ pointers compatible, cleans up the code a bit,
and aids in debugging.

No functional changes.

Commit Details:

Full Hash: 784b97e280c1ba479822d0fba6ebfce0b91595d4
Parent Commit: f45339d
Lines Changed: +66, -76

1 Added Path:

/source/blender/blenkernel/BKE_asset_library.hh (+39, -0) (View)

1 Deleted Path:

/source/blender/blenkernel/intern/asset_library.hh (+0, -43)

5 Modified Paths:

/source/blender/blenkernel/BKE_asset_library.h (+2, -2) (Diff)
/source/blender/blenkernel/CMakeLists.txt (+2, -1) (Diff)
/source/blender/blenkernel/intern/asset_library.cc (+11, -12) (Diff)
/source/blender/blenkernel/intern/asset_library_test.cc (+11, -17) (Diff)
/source/blender/editors/space_file/filelist.c (+1, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021