Blender Git Commit Log

Git Commits -> Revision 3feb3ce

Revision 3feb3ce by Julian Eisel (master)
July 15, 2021, 14:12 (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: 3feb3ce32d7d1fddf745bf30592cf68d906c295f
Parent Commit: 7898089
Committed By: Sybren A. Stüvel
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