Fix #142670: Crash when opening search menu after file save
Menus listing assets (which the search menu covers) rely on notifiers to know when their chached asset catalog tree is invalid and needs rebuilding. The 3D view notifier listener would not check for the notifier that is sent when the asset storage was cleared after a file save. Pull Request: https://projects.blender.org/blender/blender/pulls/145583
This commit is contained in:
committed by
Julian Eisel
parent
a984114d5e
commit
1b2401cdc3
@@ -1030,6 +1030,7 @@ static void view3d_header_region_listener(const wmRegionListenerParams *params)
|
||||
case NC_ASSET:
|
||||
switch (wmn->data) {
|
||||
case ND_ASSET_CATALOGS:
|
||||
case ND_ASSET_LIST:
|
||||
case ND_ASSET_LIST_READING:
|
||||
blender::ed::geometry::clear_operator_asset_trees();
|
||||
ED_region_tag_redraw(region);
|
||||
|
||||
Reference in New Issue
Block a user