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-09-15 23:57:30 +0300
committerHans Goudey <h.goudey@me.com>2020-09-15 23:57:30 +0300
commitcf0791bf38dd04a6c7067973e61894d93a73539b (patch)
tree3cf8f1f3a8dfbb14c1e47c2e678d69fefb7cd5c7 /source/blender/editors/screen/area.c
parenta4c5811e21271d0f26e0534f25800059c198982d (diff)
Property Search: Properly set expansion for instanced panels
Stack panels (for modifiers, etc..) also get their expansion from their associated list data. This means that property search expansion needs to properly update the list data, which can be accomplished by calling `set_panels_list_data_expand_flag`. This commit also moves this logic to `UI_panels_end`, where it fits better.
Diffstat (limited to 'source/blender/editors/screen/area.c')
-rw-r--r--source/blender/editors/screen/area.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/source/blender/editors/screen/area.c b/source/blender/editors/screen/area.c
index f6c54e87410..bfd98741ac8 100644
--- a/source/blender/editors/screen/area.c
+++ b/source/blender/editors/screen/area.c
@@ -2945,14 +2945,6 @@ void ED_region_panels_layout_ex(const bContext *C,
}
}
- /* Update panel expansion based on property search results. */
- if (region->flag & RGN_FLAG_SEARCH_FILTER_UPDATE) {
- /* Don't use the last update from the deactivation, or all the panels will be left closed. */
- if (region->flag & RGN_FLAG_SEARCH_FILTER_ACTIVE) {
- UI_panels_set_expansion_from_seach_filter(C, region);
- }
- }
-
/* align panels and return size */
UI_panels_end(C, region, &x, &y);