Blender Git Loki

Git Commits -> Revision 3ec2bfe

July 14, 2021, 15:02 (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: 3ec2bfecbd4827cbc1d33a37f4133a261a5985ce
Parent Commit: c202d38
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)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021