Blender Git Loki

Git Commits -> Revision 727d58d

July 30, 2021, 14:51 (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: 727d58dedd2a9719bc5384e3a21716198dde257a
Parent Commit: d0a2763
Committed By: Fabian Schempp
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