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:
authorJulian Eisel <julian@blender.org>2020-09-09 18:52:36 +0300
committerJulian Eisel <julian@blender.org>2020-09-09 18:56:43 +0300
commit0cff2c944f9c2cd3ac873fe826c4399fc2f32159 (patch)
treee0f9bad8c5db2a5ed3f5f9df81484e26a036eca9 /source/blender/windowmanager/intern/wm_draw.c
parent370d6e50252b979433f27959070315911cc340e5 (diff)
Fix T80590: Popups clipped by status-bar and top-bar
The drawing of popus should be done with the window's default viewport and scissor. Previous functions may change these, so they should be explicitly reset.
Diffstat (limited to 'source/blender/windowmanager/intern/wm_draw.c')
-rw-r--r--source/blender/windowmanager/intern/wm_draw.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/windowmanager/intern/wm_draw.c b/source/blender/windowmanager/intern/wm_draw.c
index c0de86a599c..1d3db3e7609 100644
--- a/source/blender/windowmanager/intern/wm_draw.c
+++ b/source/blender/windowmanager/intern/wm_draw.c
@@ -795,6 +795,7 @@ static void wm_draw_window_onscreen(bContext *C, wmWindow *win, int view)
/* After area regions so we can do area 'overlay' drawing. */
ED_screen_draw_edges(win);
wm_draw_callbacks(win);
+ wmWindowViewport(win);
/* Blend in floating regions (menus). */
LISTBASE_FOREACH (ARegion *, region, &screen->regionbase) {