Merge branch 'blender-v2.91-release'

This commit is contained in:
Hans Goudey 2020-11-03 16:25:47 -06:00
commit 47876e9c5e
1 changed files with 1 additions and 5 deletions

View File

@ -934,11 +934,7 @@ static void region_panels_set_expansion_from_seach_filter(const bContext *C,
const bool use_search_closed)
{
LISTBASE_FOREACH (Panel *, panel, &region->panels) {
/* Checking if the panel is active is only an optimization, it would be fine to run this on
* inactive panels. */
if (panel->runtime_flag & PANEL_ACTIVE) {
panel_set_expansion_from_seach_filter_recursive(C, panel, use_search_closed);
}
panel_set_expansion_from_seach_filter_recursive(C, panel, use_search_closed);
}
set_panels_list_data_expand_flag(C, region);
}