diff options
author | Julian Eisel <julian@blender.org> | 2021-03-09 16:17:06 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2021-03-09 16:18:09 +0300 |
commit | 68ff213cd4a26cde9b7b01570578e1a950768c3f (patch) | |
tree | 5b20aca3b485ce0e81e265b6dceb0fe358ba1ee2 /source/blender | |
parent | 7f9b6b1dc920a6da6b028a5e8c14d7c14aab4555 (diff) |
Cleanup: Correct area writing function name
This function writes areas, not regions. The old name read as if it was
regions.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/blenkernel/intern/screen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/screen.c b/source/blender/blenkernel/intern/screen.c index aa1a9403908..f0220373678 100644 --- a/source/blender/blenkernel/intern/screen.c +++ b/source/blender/blenkernel/intern/screen.c @@ -1217,7 +1217,7 @@ static void write_panel_list(BlendWriter *writer, ListBase *lb) } } -static void write_area_regions(BlendWriter *writer, ScrArea *area) +static void write_area(BlendWriter *writer, ScrArea *area) { LISTBASE_FOREACH (ARegion *, region, &area->regionbase) { write_region(writer, region, area->spacetype); @@ -1359,7 +1359,7 @@ void BKE_screen_area_map_blend_write(BlendWriter *writer, ScrAreaMap *area_map) BLO_write_struct(writer, ScrGlobalAreaData, area->global); - write_area_regions(writer, area); + write_area(writer, area); area->butspacetype = SPACE_EMPTY; /* Unset again, was changed above. */ } |