Blender Git Loki

Git Commits -> Revision 9e5aae4

Revision 9e5aae4 by Julian Eisel (master)
November 23, 2021, 17:40 (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: 9e5aae4215d0070c2af7da970a9fb1950ed7f4db
Parent Commit: 792badc
Lines Changed: +41, -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 (+33, -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)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021