Blender Git Loki

Git Commits -> Revision 689bdd7

September 21, 2021, 14:15 (GMT)
Asset Catalogs: read new on-disk catalogs before saving to disk

Before saving asset catalogs to disk, the to-be-overwritten file gets
inspected. Any new catalogs are loaded to memory.

- Changed catalog path: in-memory data wins
- Catalogs deleted on disk: they are recreated based on in-memory data
- Catalogs deleted in memory: deleted on disk as well
- New catalogs on disk: are loaded and thus survive the overwriting

Commit Details:

Full Hash: 689bdd73bd375b9a40212797f077c72b732cbbf1
Parent Commit: 07af2da
Lines Changed: +76, -0

3 Modified Paths:

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