Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Eisel <julian@blender.org>2020-11-06 13:52:55 +0300
committerJulian Eisel <julian@blender.org>2020-11-06 13:58:06 +0300
commit390a0d562474134b3978aeb11535ea33ca8afb0e (patch)
tree32a1134668d33f226de044a2ff15bb6ad0daea44 /extern/mantaflow/helper
parent190170d4cc92ff34abe1744a10474ac4f1074086 (diff)
Fix T82387: Crash loading file saved with recent master in old versions
This fix makes sure new files save `wmWindow.global_areas` under a different name, so old Blender versions don't recognize and 0-initialize it. Since enabling global area writing (ef4aa42ea4ff), loading a file in old Blender versions would cause `wmWindow.global_areas` to be read, because there was already reading code for it and `ScrAreaMap` was in SDNA. However the `ScrArea.global` of the global areas would be NULL, because it was *not* in SDNA (`ScrGlobalAreaData` was excluded). Now, issue is that the code assumes that areas in the global area-map have a valid ScrArea.global pointer. Think this was a mistake in rB5f6c45498c92. We should have cleared all this data on reading, until the global area writing was enabled. Differential Revision: https://developer.blender.org/D9442 Reviewed by: Brecht Van Lommel
Diffstat (limited to 'extern/mantaflow/helper')
0 files changed, 0 insertions, 0 deletions