Blender Git Commit Log

Git Commits -> Revision 675536f

July 30, 2021, 14:51 (GMT)
Assets: Add an active asset library per workspace, for the UI to use

This per-workspace active asset library will be used by the asset views
later. Note that Asset Browsers have their own active asset library,
overriding the one from the workspace.

As part of this the `FileSelectAssetLibraryUID` type gets replaced by
`AssetLibraryReference` which is on the asset level now, not the
File/Asset Browser level. But some more work is needed to complete that,
which is better done in a separate commit.
This also moves the asset library from/to enum-value logic from RNA to
the editor asset level, which will later be used by the asset view.

Commit Details:

Full Hash: 675536fd4b2fd380193b509c8d486e2b36771ae7
Parent Commit: 5f4edeb
Committed By: Fabian Schempp
Lines Changed: +284, -39

20 Modified Paths:

/source/blender/blenkernel/BKE_asset.h (+3, -0) (Diff)
/source/blender/blenkernel/intern/asset.cc (+5, -0) (Diff)
/source/blender/blenkernel/intern/workspace.c (+9, -1) (Diff)
/source/blender/blenloader/intern/versioning_300.c (+11, -0) (Diff)
/source/blender/editors/asset/asset_edit.cc (+53, -0) (Diff)
/source/blender/editors/asset/CMakeLists.txt (+2, -0) (Diff)
/source/blender/editors/include/ED_asset.h (+6, -0) (Diff)
/source/blender/editors/space_file/filelist.c (+1, -1) (Diff)
/source/blender/editors/space_file/filesel.c (+6, -6) (Diff)
/source/blender/editors/space_file/file_draw.c (+1, -1) (Diff)
/source/blender/makesdna/DNA_asset_defaults.h (+7, -0) (Diff)
/source/blender/makesdna/DNA_asset_types.h (+35, -0) (Diff)
/source/blender/makesdna/DNA_space_types.h (+2, -18) (Diff)
/source/blender/makesdna/dna_workspace_types.h (+5, -0) (Diff)
/source/blender/makesdna/intern/dna_defaults.c (+2, -0) (Diff)
/source/blender/makesrna/intern/rna_asset.c (+91, -0) (Diff)
/source/blender/makesrna/intern/rna_internal.h (+11, -0) (Diff)
/source/blender/makesrna/intern/rna_space.c (+14, -12) (Diff)
/source/blender/makesrna/intern/rna_workspace.c (+19, -0) (Diff)
/source/blender/makesrna/RNA_access.h (+1, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021