Blender Git Loki

Git Commits -> Revision f0d8ed0

July 14, 2021, 15:02 (GMT)
Assets: Abstraction for temporary loading of asset data-blocks

This is an editor-level abstraction for the `BLO_library_temp_xxx()`
API for temporary loading of data-blocks from another Blend file. It
abstracts away the asset specific code, like asset file-path handling
and local asset data-block handling.

Main use-case for this is applying assets as presets that are based on
data-blocks, like poses. Such preset assets are an important part of the
asset system design, so such an abstraction will likely find more usage
in the future.

Commit Details:

Full Hash: f0d8ed08ac0f80f7d2ea36618225d7ac627e5cae
Parent Commit: 6c4d21e
Lines Changed: +125, -0

1 Added Path:

/source/blender/editors/asset/asset_temp_id_consumer.cc (+113, -0) (View)

2 Modified Paths:

/source/blender/editors/asset/CMakeLists.txt (+1, -0) (Diff)
/source/blender/editors/include/ED_asset.h (+11, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021