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/space_buttons/space_buttons.c
parentfd78f8699e034d52d5d0921a7b4c722f68b213cc (diff)
parentcc0b8cb3599f50012bd90a0c41462290007f3328 (diff)
Merge branch 'blender-v2.91-release'
Diffstat (limited to 'source/blender/editors/space_buttons/space_buttons.c')
-rw-r--r--source/blender/editors/space_buttons/space_buttons.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/space_buttons/space_buttons.c b/source/blender/editors/space_buttons/space_buttons.c
index 3c4a1fee69c..e50ca2ec92b 100644
--- a/source/blender/editors/space_buttons/space_buttons.c
+++ b/source/blender/editors/space_buttons/space_buttons.c
@@ -402,6 +402,9 @@ static void property_search_all_tabs(const bContext *C,
ScrArea *area_original = CTX_wm_area(C);
ScrArea area_copy = *area_original;
ARegion *region_copy = BKE_area_region_copy(area_copy.type, region_original);
+ /* Set the region visible field. Otherwise some layout code thinks we're drawing in a popup.
+ * This likely isn't necessary, but it's nice to emulate a "real" region where possible. */
+ region_copy->visible = true;
CTX_wm_area_set((bContext *)C, &area_copy);
CTX_wm_region_set((bContext *)C, region_copy);