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:
authorCampbell Barton <ideasman42@gmail.com>2018-05-18 18:32:38 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-05-18 18:36:11 +0300
commitf9547ab3133654f7dac805f9d61c49183fa2046c (patch)
tree8e57fe4457f2e070d2fe219bbf41d6532b56ded8 /source/blender/editors/screen/workspace_edit.c
parentc2d5411cbfe2da4b4a274a8695cec8a024cad886 (diff)
Fix tools not being initialized on startup
Diffstat (limited to 'source/blender/editors/screen/workspace_edit.c')
-rw-r--r--source/blender/editors/screen/workspace_edit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/screen/workspace_edit.c b/source/blender/editors/screen/workspace_edit.c
index fe52e945399..35d916e403d 100644
--- a/source/blender/editors/screen/workspace_edit.c
+++ b/source/blender/editors/screen/workspace_edit.c
@@ -202,7 +202,7 @@ bool ED_workspace_change(
BLI_assert(CTX_wm_workspace(C) == workspace_new);
WM_toolsystem_unlink_all(C, workspace_old);
- WM_toolsystem_link_all(C, workspace_new);
+ WM_toolsystem_reinit_all(C, win);
return true;
}