Blender Git Commit Log
Git Commits -> Revision 5a94ab9
Revision 5a94ab9 by Julian Eisel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt, ui-asset-view-template) March 24, 2021, 12:25 (GMT) |
Allow getting asset library and active asset handle via context `CTX_wm_asset_library()` returns the active asset library from the workspace, or the the Asset Browser one while inside that. The active asset handle is set by the Asset Browser and the asset view UI template so that operators executed via the template can access it. |
Commit Details:
Full Hash: 5a94ab9ac270e1dd97ad6772fdb82859cea6cce2
Parent Commit: fd6015f
Lines Changed: +83, -24
10 Modified Paths:
/source/blender/blenkernel/BKE_context.h (+2, -0) (Diff)
/source/blender/blenkernel/intern/context.c (+5, -0) (Diff)
/source/blender/editors/asset/asset_list.cc (+3, -3) (Diff)
/source/blender/editors/include/ED_asset.h (+1, -2) (Diff)
/source/blender/editors/interface/interface_templates.c (+4, -0) (Diff)
/source/blender/editors/interface/interface_template_asset_view.cc (+13, -18) (Diff)
/source/blender/editors/screen/screen_context.c (+11, -0) (Diff)
/source/blender/editors/space_file/space_file.c (+35, -1) (Diff)
/source/blender/makesrna/intern/rna_asset.c (+8, -0) (Diff)
/source/blender/makesrna/RNA_access.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/context.c (+5, -0) (Diff)
/source/blender/editors/asset/asset_list.cc (+3, -3) (Diff)
/source/blender/editors/include/ED_asset.h (+1, -2) (Diff)
/source/blender/editors/interface/interface_templates.c (+4, -0) (Diff)
/source/blender/editors/interface/interface_template_asset_view.cc (+13, -18) (Diff)
/source/blender/editors/screen/screen_context.c (+11, -0) (Diff)
/source/blender/editors/space_file/space_file.c (+35, -1) (Diff)
/source/blender/makesrna/intern/rna_asset.c (+8, -0) (Diff)
/source/blender/makesrna/RNA_access.h (+1, -0) (Diff)