Fix tools not being initialized on startup

This commit is contained in:
2018-05-18 17:32:38 +02:00
parent c2d5411cbf
commit f9547ab313
5 changed files with 62 additions and 28 deletions

View File

@@ -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;
}