Blender Git Loki

Git Commits -> Revision fada98c

July 30, 2021, 14:51 (GMT)
Assets: Expose active asset library in context

For the Asset Browser, this returns the active asset library of the
Asset Browser, otherwise it returns the one active in the workspace.

This gives simple access to the active asset library from UI code and
Python scripts. For example the upcoming Pose Library add-on uses this,
as well as the upcoming asset view template.

Commit Details:

Full Hash: fada98c6218d57d2c07f094f2579645dc93215f3
Parent Commit: 675536f
Committed By: Fabian Schempp
Lines Changed: +41, -1

4 Modified Paths:

/source/blender/blenkernel/BKE_context.h (+2, -0) (Diff)
/source/blender/blenkernel/intern/context.c (+5, -0) (Diff)
/source/blender/editors/screen/screen_context.c (+11, -0) (Diff)
/source/blender/editors/space_file/space_file.c (+23, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021