Blender Git Commit Log

Git Commits -> Revision fc5cb45

August 3, 2021, 09:33 (GMT)
Asset Catalogs: add catalog ID to AssetMetaData

Add field `char AssetMetaData::catalog_id[MAX_NAME]`, to hold the
catalog ID of the asset. This field should be set using the
`BKE_asset_metadata_catalog_id_set()` function, which ensures that there
are no spaces in the ID and that the field is not too long.

For now only used to show in the UI, for development/debugging purposes.

Commit Details:

Full Hash: fc5cb452991386074bbe38cf2d7dfd0f95137349
Parent Commit: 57b9f6c
Lines Changed: +106, -0

1 Added Path:

/source/blender/blenkernel/intern/asset_test.cc (+60, -0) (View)

6 Modified Paths:

/release/scripts/startup/bl_ui/space_filebrowser.py (+6, -0) (Diff)
/source/blender/blenkernel/BKE_asset.h (+3, -0) (Diff)
/source/blender/blenkernel/CMakeLists.txt (+1, -0) (Diff)
/source/blender/blenkernel/intern/asset.cc (+16, -0) (Diff)
/source/blender/makesdna/DNA_asset_types.h (+7, -0) (Diff)
/source/blender/makesrna/intern/rna_asset.c (+13, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021