Blender Git Loki
Git Commits -> Revision 823996b
Revision 823996b by Sybren A. Stüvel (master) October 19, 2021, 16:07 (GMT) |
Asset Browser: Improved workflow for asset catalog saving No longer save asset catalogs on blendfile save. Instead: - extend the confirmation prompt for unsaved changes to show unsaved catalogs. - In the confirmation prompt, make catalog saving explicit & optional, just like we do it for external images. {F10881736} - In the Asset Browser catalog tree, show an operator icon to save the catalogs to disk. It's grayed out if there are no changes to save, or if the .blend wasn't saved yet (required to know where to save the catalog definitions to). {F10881743} Much of the work was done by @Severin and reviewed by me, then we swapped roles. Reviewed By: Severin Differential Revision: https://developer.blender.org/D12796 |
Commit Details:
Full Hash: 823996b0342b7352fc5b2e24eceb6204612438cd
Parent Commit: b6c3b41
Lines Changed: +402, -51
1 Added Path:
/source/blender/editors/asset/ED_asset_catalog.h (+39, -0) (View)
20 Modified Paths:
/source/blender/blenkernel/BKE_asset_catalog.hh (+15, -2) (Diff)
/source/blender/blenkernel/BKE_asset_library.h (+3, -0) (Diff)
/source/blender/blenkernel/BKE_asset_library.hh (+7, -3) (Diff)
/source/blender/blenkernel/intern/asset_catalog.cc (+26, -1) (Diff)
/source/blender/blenkernel/intern/asset_catalog_test.cc (+9, -9) (Diff)
/source/blender/blenkernel/intern/asset_library.cc (+19, -11) (Diff)
/source/blender/blenkernel/intern/asset_library_service.cc (+17, -2) (Diff)
/source/blender/blenkernel/intern/asset_library_service.hh (+3, -0) (Diff)
/source/blender/blenkernel/intern/asset_library_service_test.cc (+74, -0) (Diff)
/source/blender/blenkernel/intern/asset_library_test.cc (+3, -3) (Diff)
/source/blender/editors/asset/CMakeLists.txt (+1, -0) (Diff)
/source/blender/editors/asset/ED_asset_catalog.hh (+4, -0) (Diff)
/source/blender/editors/asset/intern/asset_catalog.cc (+53, -1) (Diff)
/source/blender/editors/asset/intern/asset_ops.cc (+55, -2) (Diff)
/source/blender/editors/include/ED_asset.h (+2, -0) (Diff)
/source/blender/editors/space_file/asset_catalog_tree_view.cc (+10, -10) (Diff)
/source/blender/windowmanager/intern/wm_files.c (+55, -5) (Diff)
/source/blender/windowmanager/intern/wm_window.c (+2, -1) (Diff)
/source/blender/windowmanager/wm_files.h (+1, -1) (Diff)
/source/blender/windowmanager/WM_types.h (+4, -0) (Diff)
/source/blender/blenkernel/BKE_asset_library.h (+3, -0) (Diff)
/source/blender/blenkernel/BKE_asset_library.hh (+7, -3) (Diff)
/source/blender/blenkernel/intern/asset_catalog.cc (+26, -1) (Diff)
/source/blender/blenkernel/intern/asset_catalog_test.cc (+9, -9) (Diff)
/source/blender/blenkernel/intern/asset_library.cc (+19, -11) (Diff)
/source/blender/blenkernel/intern/asset_library_service.cc (+17, -2) (Diff)
/source/blender/blenkernel/intern/asset_library_service.hh (+3, -0) (Diff)
/source/blender/blenkernel/intern/asset_library_service_test.cc (+74, -0) (Diff)
/source/blender/blenkernel/intern/asset_library_test.cc (+3, -3) (Diff)
/source/blender/editors/asset/CMakeLists.txt (+1, -0) (Diff)
/source/blender/editors/asset/ED_asset_catalog.hh (+4, -0) (Diff)
/source/blender/editors/asset/intern/asset_catalog.cc (+53, -1) (Diff)
/source/blender/editors/asset/intern/asset_ops.cc (+55, -2) (Diff)
/source/blender/editors/include/ED_asset.h (+2, -0) (Diff)
/source/blender/editors/space_file/asset_catalog_tree_view.cc (+10, -10) (Diff)
/source/blender/windowmanager/intern/wm_files.c (+55, -5) (Diff)
/source/blender/windowmanager/intern/wm_window.c (+2, -1) (Diff)
/source/blender/windowmanager/wm_files.h (+1, -1) (Diff)
/source/blender/windowmanager/WM_types.h (+4, -0) (Diff)