Blender Git Loki

Git Commits -> Revision ed1fd86

August 11, 2021, 11:59 (GMT)
Asset Catalogs: allow adding new catalogs

New catalogs can be added with `AssetCatalogService::create_catalog()`.
It only requires the catalog path, and convert that into a suitable
catalog ID itself. It is intended that artists won't have to bother with
assigning catalog IDs, and that editing those is more of an advanced
feature.

Adding a catalog will automatically save the catalog definition file to
disk.

Commit Details:

Full Hash: ed1fd8686fd8f5197bc2fd536a84c1524a783a23
Parent Commit: 7083e8c
Lines Changed: +182, -5

3 Modified Paths:

/source/blender/blenkernel/BKE_asset_catalog.hh (+21, -1) (Diff)
/source/blender/blenkernel/intern/asset_catalog.cc (+84, -0) (Diff)
/source/blender/blenkernel/intern/asset_catalog_test.cc (+77, -4) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021