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-17 18:17:00 +0300
committerHans Goudey <h.goudey@me.com>2020-11-17 18:17:00 +0300
commitd952d1792ab167b2b3cc9fdde26d70a5ec9641b0 (patch)
tree0f902d2a7df4adf930fc4e6596205b32a1e5005d /source/blender/editors/screen/area.c
parentfd78f8699e034d52d5d0921a7b4c722f68b213cc (diff)
parentcc0b8cb3599f50012bd90a0c41462290007f3328 (diff)
Merge branch 'blender-v2.91-release'
Diffstat (limited to 'source/blender/editors/screen/area.c')
-rw-r--r--source/blender/editors/screen/area.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/editors/screen/area.c b/source/blender/editors/screen/area.c
index 690d6c8055a..73e11328af6 100644
--- a/source/blender/editors/screen/area.c
+++ b/source/blender/editors/screen/area.c
@@ -3089,6 +3089,11 @@ static bool panel_property_search(const bContext *C,
uiBlock *block = UI_block_begin(C, region, panel_type->idname, UI_EMBOSS);
UI_block_set_search_only(block, true);
+ /* Skip panels that give meaningless search results. */
+ if (panel_type->flag & PANEL_TYPE_NO_SEARCH) {
+ return false;
+ }
+
if (panel == NULL) {
bool open; /* Dummy variable. */
panel = UI_panel_begin(region, &region->panels, block, panel_type, panel, &open);