Blender Git Commit Log

Git Commits -> Revision 56ce51d

Revision 56ce51d by Sybren A. Stüvel (master)
October 1, 2021, 13:22 (GMT)
Asset Catalogs: add catalog filter for the asset browser

Given an "active catalog" (i.e. the one selected in the UI), construct
an `AssetCatalogFilter` instance. This filter can determine whether an
asset should be shown or not. It returns `true` when The asset's catalog
ID is:

- the active catalog,
- an alias of the active catalog (so different UUID that maps to the
same path),
- a sub-catalog of the active catalog.

Not yet hooked up to the UI.

Commit Details:

Full Hash: 56ce51d1f75a5966977847aeafd25a60a9f44260
Parent Commit: 1c7ce7e
Lines Changed: +119, -0

3 Modified Paths:

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