diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-11-28 05:57:21 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-11-28 05:58:53 +0300 |
commit | b58d4e7fe4a01250f13d4bb764806e9f8d59db1b (patch) | |
tree | bc3c953681fd5692294533230af422a9650adace /source/blender/editors/screen/workspace_edit.c | |
parent | ba8c21989c9b75bc8ec3bcacc381b2787fb07704 (diff) |
WM: remove tool initialization code
Area initialization handles these cases now.
Diffstat (limited to 'source/blender/editors/screen/workspace_edit.c')
-rw-r--r-- | source/blender/editors/screen/workspace_edit.c | 2 |
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 6c836c9fc08..d8e0945eb25 100644 --- a/source/blender/editors/screen/workspace_edit.c +++ b/source/blender/editors/screen/workspace_edit.c @@ -187,7 +187,7 @@ bool ED_workspace_change( BLI_assert(CTX_wm_workspace(C) == workspace_new); WM_toolsystem_unlink_all(C, workspace_old); - WM_toolsystem_reinit_all(C, win); + /* Area initialization will initialize based on the new workspace. */ /* Automatic mode switching. */ if (workspace_new->object_mode != workspace_old->object_mode) { |