Blender Git Commit Log

Git Commits -> Revision 1f0d6f7

Revision 1f0d6f7 by Sybren A. Stüvel (master)
August 2, 2021, 09:08 (GMT)
Asset Catalogs: loading a catalog definition file

Initial, limited implementation of loading a single asset catalog
definition file. These files are structured as follows:

CATALOG_ID virtual/path/of/catalog
SUBCATALOG_ID virtual/path/of/catalog/child
SOMETHING_ELSE some/unrelated/hierarchy

These virtual paths will be used to show the catalog in a tree
structure; the tree structure itself is not part of this commit. Each
asset will have one catalog ID that determines where in that tree the
asset shows up.

Currently only a single catalog definition file can be read; merging
data from multiple such files, and writing them out again after changes
are made, is for future commits.

This commit only contains the code to load a single file, and unittests
to check that this actually works. No UI, no user-facing functionality
yet.

Commit Details:

Full Hash: 1f0d6f763573b22772dcdb61320a12e1c11949e0
Parent Commit: 3fd5c93
Lines Changed: +310, -0

3 Added Paths:

/source/blender/blenkernel/BKE_asset_catalog.hh (+97, -0) (View)
/source/blender/blenkernel/intern/asset_catalog.cc (+148, -0) (View)
/source/blender/blenkernel/intern/asset_catalog_test.cc (+62, -0) (View)

1 Modified Path:

/source/blender/blenkernel/CMakeLists.txt (+3, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021