Blender Git Loki

Git Commits -> Revision 628fab6

Revision 628fab6 by Sybren A. Stüvel (master)
September 30, 2021, 14:29 (GMT)
Asset Catalog: introduce `AssetCatalogPath` class

So far we have used `std::string` for asset catalog paths. Some
operations are better described on a dedicated class for this, though.
This commits switches catalog paths from using `std::string` to a
dedicated `blender::bke::AssetCatalogPath` class.

The `using CatalogPath = AssetCatalogPath` alias is still there, and
will be removed in a following cleanup commit.

New `AssetCatalogPath` code reviewed by @severin in D12710.

Commit Details:

Full Hash: 628fab696cfaefdd2ac758849c8a1e9a3a0beef0
Parent Commit: 5d42ea0
Lines Changed: +646, -141

3 Added Paths:

/source/blender/blenkernel/BKE_asset_catalog_path.hh (+138, -0) (View)
/source/blender/blenkernel/intern/asset_catalog_path.cc (+220, -0) (View)
/source/blender/blenkernel/intern/asset_catalog_path_test.cc (+234, -0) (View)

6 Modified Paths:

/source/blender/blenkernel/BKE_asset_catalog.hh (+3, -12) (Diff)
/source/blender/blenkernel/CMakeLists.txt (+3, -0) (Diff)
/source/blender/blenkernel/intern/asset_catalog.cc (+33, -91) (Diff)
/source/blender/blenkernel/intern/asset_catalog_test.cc (+11, -28) (Diff)
/source/blender/blenkernel/intern/asset_library_test.cc (+1, -1) (Diff)
/source/blender/editors/asset/intern/asset_catalog.cc (+3, -9) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021