diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-06-13 17:33:01 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-06-13 18:56:42 +0300 |
commit | 245129e8e2a6fb24b7a3c6623eae9a6b2010c238 (patch) | |
tree | f152b8032813d3ede98225c4171ed4b9bb4cb35f /source/blender/editors/screen/workspace_edit.c | |
parent | 84936ce0ee51453a8690a41e8eda8c7d424c928e (diff) |
Fix T65445: wrong defaults when appending workspaces from builtin templates
Diffstat (limited to 'source/blender/editors/screen/workspace_edit.c')
-rw-r--r-- | source/blender/editors/screen/workspace_edit.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/screen/workspace_edit.c b/source/blender/editors/screen/workspace_edit.c index 9fcd0e5295c..6030b6fded5 100644 --- a/source/blender/editors/screen/workspace_edit.c +++ b/source/blender/editors/screen/workspace_edit.c @@ -376,6 +376,9 @@ static int workspace_append_activate_exec(bContext *C, wmOperator *op) BLI_assert(appended_workspace != NULL); if (appended_workspace) { + /* Set defaults. */ + BLO_update_defaults_workspace(appended_workspace, NULL); + /* Reorder to last position. */ BKE_id_reorder(&bmain->workspaces, &appended_workspace->id, NULL, true); |