Blender Git Loki
Git Commits -> Revision ea93e5d
Revision ea93e5d by Julian Eisel (master) November 23, 2021, 17:57 (GMT) |
Asset: Merge asset library/list refresh operators In rBdcdbaf89bd11, I introduced a new operator (`file.asset_library_refresh()`) to handle Asset Browser refreshing more separate from File Browser refreshing. However, there already was `asset.asset_list_refresh()`, which at this point only works for asset view templates, but was intended to cover the Asset Browser case in future too. This would happen once the Asset Browser uses the asset list design of the asset view template. So rather than having two operators for refreshing asset library data, have one that just handles both cases, until they converge into one. This avoids changes to the Python API in future (deprecating/changing operators). Differential Revision: https://developer.blender.org/D13239 |
Commit Details:
Full Hash: ea93e5df6c4cd42dc19073fd61e11ccd1a01c395
Parent Commit: 60befc8
Lines Changed: +43, -56
10 Modified Paths:
/release/scripts/presets/keyconfig/keymap_data/blender_default.py (+1, -1) (Diff)
/release/scripts/presets/keyconfig/keymap_data/industry_compatible_data.py (+2, -2) (Diff)
/release/scripts/startup/bl_operators/assets.py (+2, -8) (Diff)
/release/scripts/startup/bl_ui/space_filebrowser.py (+1, -1) (Diff)
/source/blender/editors/asset/intern/asset_ops.cc (+35, -11) (Diff)
/source/blender/editors/interface/interface_template_asset_view.cc (+1, -1) (Diff)
/source/blender/editors/space_file/file_intern.h (+0, -1) (Diff)
/source/blender/editors/space_file/file_ops.c (+0, -29) (Diff)
/source/blender/editors/space_file/file_panels.c (+1, -1) (Diff)
/source/blender/editors/space_file/space_file.c (+0, -1) (Diff)
/release/scripts/presets/keyconfig/keymap_data/industry_compatible_data.py (+2, -2) (Diff)
/release/scripts/startup/bl_operators/assets.py (+2, -8) (Diff)
/release/scripts/startup/bl_ui/space_filebrowser.py (+1, -1) (Diff)
/source/blender/editors/asset/intern/asset_ops.cc (+35, -11) (Diff)
/source/blender/editors/interface/interface_template_asset_view.cc (+1, -1) (Diff)
/source/blender/editors/space_file/file_intern.h (+0, -1) (Diff)
/source/blender/editors/space_file/file_ops.c (+0, -29) (Diff)
/source/blender/editors/space_file/file_panels.c (+1, -1) (Diff)
/source/blender/editors/space_file/space_file.c (+0, -1) (Diff)