Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Goudey <h.goudey@me.com>2020-11-04 01:25:47 +0300
committerHans Goudey <h.goudey@me.com>2020-11-04 01:25:47 +0300
commit47876e9c5e699c4559b59444f1df1ef36a5e7167 (patch)
treebc0a701cbf0eaac673637d73b3a1363506121327
parente29206f86a5fb4fc5fb4aee2e6b6e03f848080c7 (diff)
parent5650468c842eebef01c4959965b48dde686b8328 (diff)
Merge branch 'blender-v2.91-release'
-rw-r--r--source/blender/editors/interface/interface_panel.c6
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, &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);
}