Blender Git Loki

Git Commits -> Revision 07af2da

September 21, 2021, 14:11 (GMT)
Cleanup: refactor asset catalog definition file loading

Change the API for loading asset catalog definition files, by moving the
file/line parsing code into the `AssetCatalogDefinitionFile` class.

This separates the parsing of these files from handling the parsed data.
The caller of the `parse_catalog_line()` function has to provide a callback
that stores the `AssetCatalog` in the desired place.

No functional changes.

Commit Details:

Full Hash: 07af2da13e4b4ae641c1ec763b9c195c0574a3cc
Parent Commit: c675dd0
Lines Changed: +41, -24

2 Modified Paths:

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