Blender Git Commit Log

Git Commits -> Revision 5ccec8e

Revision 5ccec8e by Sybren A. Stüvel (master)
October 21, 2021, 13:53 (GMT)
Asset Catalogs: treat first-loaded catalog as main catalog

When there are multiple catalogs with the same path (so different UUIDs
all mapped to the same catalog path), treat the first-loaded one as the
main catalog for that path, and the rest as aliases.

This ensures that the UUID of a catalog (as chosen in the tree UI and thus
interacted with by users) is stable, regardless of whether by some coincidence
later another catalog with the same UUID is created.

Commit Details:

Full Hash: 5ccec8ec6bed3e0eda1cffaae565fdfaccd2a6ac
Parent Commit: 9a1fce6
Lines Changed: +65, -7

3 Modified Paths:

/source/blender/blenkernel/BKE_asset_catalog.hh (+12, -3) (Diff)
/source/blender/blenkernel/intern/asset_catalog.cc (+21, -4) (Diff)
/source/blender/blenkernel/intern/asset_catalog_test.cc (+32, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021