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>2019-06-27 04:03:20 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-06-27 04:13:17 +0300
commit3128fe45919c69feb17d0dd5ec9850e58c42f446 (patch)
tree0ab23a3c2fd3910342131b7e0fae1940ac417103
parent155c62b070a9ff9caed815e143743c90d3c6c028 (diff)
Tool System: don't unlink tools when changing workspaces
Caused gizmos to be lost with multiple main windows whenever one of them switched workspaces. Rely on tool gizmos poll function to unlink to gizmo.
-rw-r--r--source/blender/editors/screen/workspace_edit.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source/blender/editors/screen/workspace_edit.c b/source/blender/editors/screen/workspace_edit.c
index 6030b6fded5..f4138dd7847 100644
--- a/source/blender/editors/screen/workspace_edit.c
+++ b/source/blender/editors/screen/workspace_edit.c
@@ -183,9 +183,6 @@ bool ED_workspace_change(WorkSpace *workspace_new, bContext *C, wmWindowManager
BLI_assert(CTX_wm_workspace(C) == workspace_new);
- WM_toolsystem_unlink_all(C, workspace_old);
- /* Area initialization will initialize based on the new workspace. */
-
/* Automatic mode switching. */
if (workspace_new->object_mode != workspace_old->object_mode) {
ED_object_mode_generic_enter(C, workspace_new->object_mode);