Blender Git Commit Log
Git Commits -> Revision bab93fc
Revision bab93fc by Julian Eisel (temp-asset-browser-poselib-merge) July 14, 2021, 15:02 (GMT) |
Assets: Initial Asset List as part of the Asset System design Implements a basic, WIP version of the asset list. This is needed to give the asset view UI template asset reading and displaying functionality. See: * Asset System: Data Storage, Reading & UI Access - https://developer.blender.org/T88184 Especially the asset list internals should change. It uses the File/Asset Browser's `FileList` API, which isn't really meant for access from outside the File Browser. But as explained in T88184, it does a lot of the stuff we currently need, so we (Sybren St�vel and I) decided to go this route for now. Work on a file-list rewrite which integrates well with the asset system started in the `asset-system-filelist` branch. Further includes: * Operator to reload the asset list. * New `bpy.types.AssetHandle.get_full_library_path()` function, which gets the full path of the asset via the asset-list. * Changes to preview loading to prevent the preview loading job to run eternally for asset views. File Browsers have this issue too, but should be fixed separately. |
Commit Details:
Full Hash: bab93fc3df9f92d535106711d48093315b11830f
Parent Commit: e5710e2
Lines Changed: +845, -10
1 Added Path:
/source/blender/editors/asset/asset_list.cc (+637, -0) (View)
17 Modified Paths:
/source/blender/editors/asset/asset_edit.cc (+28, -0) (Diff)
/source/blender/editors/asset/asset_ops.cc (+33, -0) (Diff)
/source/blender/editors/asset/CMakeLists.txt (+2, -0) (Diff)
/source/blender/editors/include/ED_asset.h (+44, -0) (Diff)
/source/blender/editors/space_file/filelist.c (+24, -8) (Diff)
/source/blender/editors/space_file/filelist.h (+5, -1) (Diff)
/source/blender/editors/space_file/space_file.c (+1, -1) (Diff)
/source/blender/editors/undo/ed_undo.c (+3, -0) (Diff)
/source/blender/editors/util/ed_util.c (+3, -0) (Diff)
/source/blender/editors/util/ed_util_ops.cc (+3, -0) (Diff)
/source/blender/makesdna/DNA_asset_types.h (+11, -0) (Diff)
/source/blender/makesrna/intern/rna_asset.c (+38, -0) (Diff)
/source/blender/makesrna/intern/rna_space.c (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_workspace.c (+1, -0) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+2, -0) (Diff)
/source/blender/windowmanager/intern/wm_init_exit.c (+2, -0) (Diff)
/source/blender/windowmanager/WM_types.h (+7, -0) (Diff)
/source/blender/editors/asset/asset_ops.cc (+33, -0) (Diff)
/source/blender/editors/asset/CMakeLists.txt (+2, -0) (Diff)
/source/blender/editors/include/ED_asset.h (+44, -0) (Diff)
/source/blender/editors/space_file/filelist.c (+24, -8) (Diff)
/source/blender/editors/space_file/filelist.h (+5, -1) (Diff)
/source/blender/editors/space_file/space_file.c (+1, -1) (Diff)
/source/blender/editors/undo/ed_undo.c (+3, -0) (Diff)
/source/blender/editors/util/ed_util.c (+3, -0) (Diff)
/source/blender/editors/util/ed_util_ops.cc (+3, -0) (Diff)
/source/blender/makesdna/DNA_asset_types.h (+11, -0) (Diff)
/source/blender/makesrna/intern/rna_asset.c (+38, -0) (Diff)
/source/blender/makesrna/intern/rna_space.c (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_workspace.c (+1, -0) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+2, -0) (Diff)
/source/blender/windowmanager/intern/wm_init_exit.c (+2, -0) (Diff)
/source/blender/windowmanager/WM_types.h (+7, -0) (Diff)