Blender Git Commit Log

Git Commits -> Revision 637731d

Revision 637731d by Julian Eisel (master)
July 15, 2021, 14:12 (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: 637731dc610370782b1041ece4425bf3e6086ba0
Parent Commit: 55d48de
Committed By: Sybren A. Stüvel
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)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021