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/makesdna/DNA_workspace_types.h | |
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/makesdna/DNA_workspace_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_workspace_types.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_workspace_types.h b/source/blender/makesdna/DNA_workspace_types.h index ad047a85c18..296fa8a713c 100644 --- a/source/blender/makesdna/DNA_workspace_types.h +++ b/source/blender/makesdna/DNA_workspace_types.h @@ -111,7 +111,7 @@ typedef struct bToolRef { typedef struct WorkSpaceLayout { struct WorkSpaceLayout *next, *prev; - struct bScreen *screen DNA_PRIVATE_WORKSPACE; + struct bScreen *screen; /* The name of this layout, we override the RNA name of the screen with this (but not ID name itself) */ char name[64] DNA_PRIVATE_WORKSPACE; /* MAX_NAME */ } WorkSpaceLayout; |