diff options
author | Julian Eisel <eiseljulian@gmail.com> | 2018-04-12 15:42:55 +0300 |
---|---|---|
committer | Julian Eisel <eiseljulian@gmail.com> | 2018-04-12 15:42:55 +0300 |
commit | 3df270b1cf0c55750fd3752ac38a3d96947b7a43 (patch) | |
tree | b37adbb7d5d506fd5b15495de736c07742e02688 /source/blender/editors/screen/workspace_edit.c | |
parent | 4d250c4469759c3f9776f4744b11f664a9bc10b1 (diff) | |
parent | 31067c975759255c013a2b4d872082155d41479e (diff) |
Merge branch 'blender2.8' into topbar
Diffstat (limited to 'source/blender/editors/screen/workspace_edit.c')
-rw-r--r-- | source/blender/editors/screen/workspace_edit.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/editors/screen/workspace_edit.c b/source/blender/editors/screen/workspace_edit.c index 48453103c90..5891b8c2556 100644 --- a/source/blender/editors/screen/workspace_edit.c +++ b/source/blender/editors/screen/workspace_edit.c @@ -193,7 +193,9 @@ bool ED_workspace_change( WM_window_set_active_layout(win, workspace_new, layout_new); WM_window_set_active_workspace(win, workspace_new); - /* update screen *after* changing workspace - which also causes the actual screen change */ + /* update screen *after* changing workspace - which also causes the + * actual screen change and updates context (including CTX_wm_workspace) */ + screen_change_update(C, win, screen_new); workspace_change_update(workspace_new, workspace_old, C, wm); BLI_assert(BKE_workspace_view_layer_get(workspace_new, CTX_data_scene(C)) != NULL); |