diff options
author | Julian Eisel <julian@blender.org> | 2020-11-02 20:32:12 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2020-11-02 20:35:13 +0300 |
commit | ef4aa42ea4ffa1bf7f5ad7f8e7f7b6acf9e3c3e6 (patch) | |
tree | 06b0827e294d12bde6f97136c6d34f9dc0addd17 /source/blender/blenkernel/intern | |
parent | cf7343a35559c7fec2047c3e5d7ef4dd7c1e64a5 (diff) |
UI: Enable writing global area data (top-bar, status-bar) to .blend's
There should not be much user visible here (other than T73668 being addressed).
I added the writing code already for the initial implementation of workspaces,
but we decided to keep it disabled until the top-bar design is more clear. It
was never planned to keep this disabled for so long.
Fixes T73668.
Diffstat (limited to 'source/blender/blenkernel/intern')
-rw-r--r-- | source/blender/blenkernel/intern/screen.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/source/blender/blenkernel/intern/screen.c b/source/blender/blenkernel/intern/screen.c index a357b5d98fb..17ea19bd824 100644 --- a/source/blender/blenkernel/intern/screen.c +++ b/source/blender/blenkernel/intern/screen.c @@ -1368,14 +1368,12 @@ static void write_area_regions(BlendWriter *writer, ScrArea *area) } BLO_write_struct(writer, SpaceConsole, sl); } -#ifdef WITH_GLOBAL_AREA_WRITING else if (sl->spacetype == SPACE_TOPBAR) { BLO_write_struct(writer, SpaceTopBar, sl); } else if (sl->spacetype == SPACE_STATUSBAR) { BLO_write_struct(writer, SpaceStatusBar, sl); } -#endif else if (sl->spacetype == SPACE_USERPREF) { BLO_write_struct(writer, SpaceUserPref, sl); } @@ -1397,9 +1395,7 @@ void BKE_screen_area_map_blend_write(BlendWriter *writer, ScrAreaMap *area_map) BLO_write_struct(writer, ScrArea, area); -#ifdef WITH_GLOBAL_AREA_WRITING BLO_write_struct(writer, ScrGlobalAreaData, area->global); -#endif write_area_regions(writer, area); |