diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-09-12 13:31:31 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-09-13 15:44:36 +0300 |
commit | e082fc7c77235e46a3782e81a255be644a089e7d (patch) | |
tree | 6e068f109a19ee4fc942a3957839e11aa0606c4d /source/blender/blenkernel/intern/library_query.c | |
parent | 80f083f993d4f62a7e9c35ab946e031ca70b09cd (diff) |
Workspaces: reference count screens, otherwise they are never freed.
They are not directly accessible in the UI anymore, it's the workspaces
that we always keep until they are manually deleted now.
Diffstat (limited to 'source/blender/blenkernel/intern/library_query.c')
-rw-r--r-- | source/blender/blenkernel/intern/library_query.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/library_query.c b/source/blender/blenkernel/intern/library_query.c index c569f43e7f4..27f0b653347 100644 --- a/source/blender/blenkernel/intern/library_query.c +++ b/source/blender/blenkernel/intern/library_query.c @@ -950,7 +950,7 @@ void BKE_library_foreach_ID_link(Main *bmain, ID *id, LibraryIDLinkCallback call /* CALLBACK_INVOKE expects an actual pointer, not a variable holding the pointer. * However we can't acess layout->screen here since we are outside the workspace project. */ - CALLBACK_INVOKE(screen, IDWALK_CB_NOP); + CALLBACK_INVOKE(screen, IDWALK_CB_USER); /* allow callback to set a different screen */ BKE_workspace_layout_screen_set(layout, screen); } |