Blender Git Commit Log

Git Commits -> Revision 3713251

July 14, 2021, 15:02 (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: 371325141da0046ba3a1ae08d93b8ce37ba2c3ac
Parent Commit: 3ec2bfe
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)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021