Blender Git Commit Log

Git Commits -> Revision 55d48de

Revision 55d48de by Julian Eisel (master)
July 15, 2021, 14:12 (GMT)
File/Asset Browser: Extend file-entry and asset handle Python API

Adds the following to `bpy.types.FileSelectEntry`:
* `id_type`: The data-block type the file represenets, if any.
* `local_id`: The local data-block it represents, if any (assets only).

And the following to `bpy.types.AssetHandle`:
* `local_id`: The local data-block the asset represents, if any.

This kind of information and the references are important for asset related
operators and UIs. They will be used by upcoming Pose Library features.

Commit Details:

Full Hash: 55d48defc50fac7756ccf5b5afbba8f35cf31835
Parent Commit: a26a059
Committed By: Sybren A. Stüvel
Lines Changed: +64, -0

2 Modified Paths:

/source/blender/makesrna/intern/rna_asset.c (+16, -0) (Diff)
/source/blender/makesrna/intern/rna_space.c (+48, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021