Blender Git Loki
Git Commits -> Revision 0e071e0
Revision 0e071e0 by Julian Eisel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt, ui-asset-view-template) March 16, 2021, 12:06 (GMT) |
Store active asset library at workspace level The Asset Browser still has its own active asset library. But for the UI (e.g. the asset view UI template), there is one active asset library per workspace now. This is needed because for technical reasons the property has to be registered in C, ideally you could just register it as custom property for any use-case and pass that to the asset view template. Since this isn't possible, an active asset library per workspace seems reasonable. |
Commit Details:
Full Hash: 0e071e015e76b723dd3ae573ec9aef70ad059902
Parent Commit: 2fad30b
Lines Changed: +70, -53
15 Modified Paths:
/release/scripts/startup/bl_ui/space_view3d.py (+2, -2) (Diff)
/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_290.c (+4, -11) (Diff)
/source/blender/makesdna/DNA_asset_defaults.h (+7, -0) (Diff)
/source/blender/makesdna/DNA_view3d_defaults.h (+0, -7) (Diff)
/source/blender/makesdna/DNA_view3d_types.h (+0, -4) (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 (+8, -6) (Diff)
/source/blender/makesrna/intern/rna_internal.h (+3, -4) (Diff)
/source/blender/makesrna/intern/rna_space.c (+0, -18) (Diff)
/source/blender/makesrna/intern/rna_ui_api.c (+2, -0) (Diff)
/source/blender/makesrna/intern/rna_workspace.c (+20, -0) (Diff)
/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_290.c (+4, -11) (Diff)
/source/blender/makesdna/DNA_asset_defaults.h (+7, -0) (Diff)
/source/blender/makesdna/DNA_view3d_defaults.h (+0, -7) (Diff)
/source/blender/makesdna/DNA_view3d_types.h (+0, -4) (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 (+8, -6) (Diff)
/source/blender/makesrna/intern/rna_internal.h (+3, -4) (Diff)
/source/blender/makesrna/intern/rna_space.c (+0, -18) (Diff)
/source/blender/makesrna/intern/rna_ui_api.c (+2, -0) (Diff)
/source/blender/makesrna/intern/rna_workspace.c (+20, -0) (Diff)