Blender Git Loki
Git Commits -> Revision 45bb7d7
Revision 45bb7d7 by Julian Eisel (asset-browser) September 30, 2020, 15:21 (GMT) |
Support showing local assets in Asset Browsers ("Local" repository) Adds a new repository "Local" (will probably rename this in a bit, together with other UI improvements). The asset browser shows the assets in the current Blender session then. Note that there's a difference between the data saved in the file, and the current session's data - the file may have unsaved changes. So this new repository acts on the current runtime "main" data, not on a file stored on disk. Note that the Asset Browser still has to refreshed or reopened when creating/deleting assets, so that the changes are reflected. |
Commit Details:
Full Hash: 45bb7d7013fcbbf2c57a757e0442f31b2060cfc8
Parent Commit: 480d3ff
Lines Changed: +367, -100
15 Modified Paths:
/source/blender/blenkernel/BKE_asset.h (+5, -0) (Diff)
/source/blender/blenkernel/BKE_icons.h (+2, -0) (Diff)
/source/blender/blenkernel/intern/asset.c (+7, -0) (Diff)
/source/blender/blenkernel/intern/icons.c (+21, -0) (Diff)
/source/blender/blenlib/intern/path_util.c (+4, -0) (Diff)
/source/blender/editors/asset/asset_ops.c (+2, -1) (Diff)
/source/blender/editors/space_file/filelist.c (+225, -58) (Diff)
/source/blender/editors/space_file/filelist.h (+8, -2) (Diff)
/source/blender/editors/space_file/filesel.c (+46, -14) (Diff)
/source/blender/editors/space_file/file_draw.c (+18, -2) (Diff)
/source/blender/editors/space_file/file_ops.c (+1, -0) (Diff)
/source/blender/editors/space_file/space_file.c (+6, -2) (Diff)
/source/blender/imbuf/intern/thumbs_blend.c (+1, -9) (Diff)
/source/blender/makesdna/DNA_space_types.h (+17, -8) (Diff)
/source/blender/makesrna/intern/rna_space.c (+4, -4) (Diff)
/source/blender/blenkernel/BKE_icons.h (+2, -0) (Diff)
/source/blender/blenkernel/intern/asset.c (+7, -0) (Diff)
/source/blender/blenkernel/intern/icons.c (+21, -0) (Diff)
/source/blender/blenlib/intern/path_util.c (+4, -0) (Diff)
/source/blender/editors/asset/asset_ops.c (+2, -1) (Diff)
/source/blender/editors/space_file/filelist.c (+225, -58) (Diff)
/source/blender/editors/space_file/filelist.h (+8, -2) (Diff)
/source/blender/editors/space_file/filesel.c (+46, -14) (Diff)
/source/blender/editors/space_file/file_draw.c (+18, -2) (Diff)
/source/blender/editors/space_file/file_ops.c (+1, -0) (Diff)
/source/blender/editors/space_file/space_file.c (+6, -2) (Diff)
/source/blender/imbuf/intern/thumbs_blend.c (+1, -9) (Diff)
/source/blender/makesdna/DNA_space_types.h (+17, -8) (Diff)
/source/blender/makesrna/intern/rna_space.c (+4, -4) (Diff)