Blender Git Loki

Git Commits -> Revision ad1735f

Revision ad1735f by Sybren A. Stüvel (master)
October 12, 2021, 09:28 (GMT)
Asset Catalogs: recursive deletion of catalogs & children

Recursively delete asset catalogs with `AssetCatalogService:prune_...`
functions. This deletes the catalog and all of its children.

The old `delete_catalog` function has been renamed to
`delete_catalog_by_id()`, and is now a lower-level function (no deletion
of children, no rebuilding of the tree). The `prune_catalogs_by_path()`
and `prune_catalogs_by_id()` do delete children and do rebuild the
catalog tree.

Manifest task: T91634

Commit Details:

Full Hash: ad1735f8ede966b7d49423928ad05cca25119949
Parent Commit: ac657be
Lines Changed: +100, -9

4 Modified Paths:

/source/blender/blenkernel/BKE_asset_catalog.hh (+15, -3) (Diff)
/source/blender/blenkernel/intern/asset_catalog.cc (+29, -2) (Diff)
/source/blender/blenkernel/intern/asset_catalog_test.cc (+55, -3) (Diff)
/source/blender/editors/asset/intern/asset_catalog.cc (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021