diff options
author | Hans Goudey <h.goudey@me.com> | 2020-11-04 01:25:47 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2020-11-04 01:25:47 +0300 |
commit | 47876e9c5e699c4559b59444f1df1ef36a5e7167 (patch) | |
tree | bc0a701cbf0eaac673637d73b3a1363506121327 /source/blender/editors/interface | |
parent | e29206f86a5fb4fc5fb4aee2e6b6e03f848080c7 (diff) | |
parent | 5650468c842eebef01c4959965b48dde686b8328 (diff) |
Merge branch 'blender-v2.91-release'
Diffstat (limited to 'source/blender/editors/interface')
-rw-r--r-- | source/blender/editors/interface/interface_panel.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/source/blender/editors/interface/interface_panel.c b/source/blender/editors/interface/interface_panel.c index 691035d4662..de281724afe 100644 --- a/source/blender/editors/interface/interface_panel.c +++ b/source/blender/editors/interface/interface_panel.c @@ -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, ®ion->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); } |