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 <eiseljulian@gmail.com>2018-04-23 23:13:58 +0300
committerJulian Eisel <eiseljulian@gmail.com>2018-04-23 23:18:49 +0300
commit10f0f4b06f9e09082656b483c17520118816b0d7 (patch)
tree945f436aac4bf25a179ac30b7a94c09a62f2c8cc /source/blender/editors/screen
parent74b3947c901d75cb5c15815929b0e9e1f1626f75 (diff)
Fix opening new windows would try to open global areas twice
Would cause weird & broken areas below the topbar.
Diffstat (limited to 'source/blender/editors/screen')
-rw-r--r--source/blender/editors/screen/screen_ops.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/editors/screen/screen_ops.c b/source/blender/editors/screen/screen_ops.c
index 243f0f5720b..6ed56e91a0f 100644
--- a/source/blender/editors/screen/screen_ops.c
+++ b/source/blender/editors/screen/screen_ops.c
@@ -1045,7 +1045,6 @@ static int area_dupli_invoke(bContext *C, wmOperator *op, const wmEvent *event)
layout_new = ED_workspace_layout_add(workspace, newwin, BKE_workspace_layout_name_get(layout_old));
newsc = BKE_workspace_layout_screen_get(layout_new);
WM_window_set_active_layout(newwin, workspace, layout_new);
- ED_screen_global_areas_create(newwin);
/* copy area to new screen */
ED_area_data_copy((ScrArea *)newsc->areabase.first, sa, true);