Blender Git Loki

Git Commits -> Revision d0a2763

July 30, 2021, 14:51 (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: d0a2763b049c95e4979e132cb76e95f057479533
Parent Commit: ab7046a
Committed By: Fabian Schempp
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)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021