Blender Git Commit Log
Git Commits -> Revision 10061ee
Revision 10061ee by Sybren A. Stüvel (master) September 27, 2021, 16:14 (GMT) |
Asset Catalogs: write catalogs to disk when saving the blend file The Asset Catalog Definition File is now saved whenever the blend file is saved. The location of the CDF depends on where the blend file is saved, and whether previously a CDF was already loaded, according to the following rules. The first matching rule wins: 1. Already loaded a CDF from disk? -> Always write to that file. 2. The directory containing the blend file has a `blender_assets.cats.txt` file? -> Merge with & write to that file. 3. The directory containing the blend file is part of an asset library, as per the user's preferences? -> Merge with & write to `${ASSET_LIBRARY_ROOT}/blender_assets.cats.txt` 4. Create a new file `blender_assets.cats.txt` next to the blend file. |
Commit Details:
Full Hash: 10061ee18ae97968bc9e0a7d83a353b077329aca
Parent Commit: 90aa0a5
Lines Changed: +298, -8
5 Modified Paths:
/source/blender/blenkernel/BKE_asset_catalog.hh (+28, -0) (Diff)
/source/blender/blenkernel/BKE_asset_library.hh (+9, -0) (Diff)
/source/blender/blenkernel/intern/asset_catalog.cc (+62, -0) (Diff)
/source/blender/blenkernel/intern/asset_catalog_test.cc (+157, -8) (Diff)
/source/blender/blenkernel/intern/asset_library.cc (+42, -0) (Diff)
/source/blender/blenkernel/BKE_asset_library.hh (+9, -0) (Diff)
/source/blender/blenkernel/intern/asset_catalog.cc (+62, -0) (Diff)
/source/blender/blenkernel/intern/asset_catalog_test.cc (+157, -8) (Diff)
/source/blender/blenkernel/intern/asset_library.cc (+42, -0) (Diff)