From f9547ab3133654f7dac805f9d61c49183fa2046c Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 18 May 2018 17:32:38 +0200 Subject: Fix tools not being initialized on startup --- source/blender/editors/screen/workspace_edit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/screen/workspace_edit.c') 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; } -- cgit v1.2.3