Julian Eisel
390a0d5624
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 (ef4aa42ea4 ), 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
2020-11-06 11:58:06 +01:00
..
2020-11-06 11:58:06 +01:00
2019-04-17 06:21:24 +02:00
2020-10-14 15:24:52 +02:00
2020-10-19 08:12:33 -07:00
2020-10-08 13:23:30 +02:00
2020-08-07 09:50:34 +02:00
2020-10-19 08:12:33 -07:00
2020-08-07 09:50:34 +02:00
2020-11-02 15:27:33 +01:00
2020-08-07 09:50:34 +02:00
2020-08-07 10:04:57 +02:00
2020-11-06 12:32:54 +11:00
2020-08-07 09:50:34 +02:00
2020-10-14 15:24:42 +11:00
2020-10-08 16:11:38 +02:00
2020-09-15 12:47:09 -06:00
2020-08-07 09:50:34 +02:00
2020-10-29 19:34:29 -05:00
2020-09-16 10:20:38 -05:00
2020-09-16 10:20:38 -05:00
2020-08-07 10:04:57 +02:00
2020-09-18 14:10:23 +02:00
2020-08-07 09:50:34 +02:00
2020-08-07 09:50:34 +02:00
2019-08-18 04:26:34 +10:00
2020-08-07 09:50:34 +02:00
2020-08-07 09:50:34 +02:00
2020-08-07 09:50:34 +02:00
2020-10-20 23:07:53 +02:00
2020-10-20 23:07:53 +02:00
2020-08-07 09:50:34 +02:00
2020-10-08 18:17:12 +02:00
2020-10-15 09:44:39 -05:00
2020-10-29 19:34:29 -05:00
2020-08-07 09:50:34 +02:00
2020-08-07 09:50:34 +02:00
2020-08-07 09:50:34 +02:00
2020-09-09 17:01:17 +02:00
2020-11-03 11:40:29 +01:00
2020-09-11 08:08:46 +02:00
2020-09-15 09:29:58 +02:00
2020-08-07 09:50:34 +02:00
2020-10-19 09:11:00 -07:00
2020-08-07 09:50:34 +02:00
2020-08-07 09:50:34 +02:00
2020-10-14 15:24:42 +11:00
2020-08-07 09:50:34 +02:00
2020-08-07 09:50:34 +02:00
2020-08-07 09:50:34 +02:00
2020-08-07 09:50:34 +02:00
2020-08-07 09:50:34 +02:00
2020-10-19 08:12:33 -07:00
2020-08-07 09:50:34 +02:00
2020-10-19 08:12:33 -07:00
2020-08-07 09:50:34 +02:00
2020-10-30 15:45:00 +01:00
2020-08-07 09:50:34 +02:00
2020-10-22 12:15:57 +02:00
2020-10-22 12:15:57 +02:00
2020-08-07 09:50:34 +02:00
2020-08-07 09:50:34 +02:00
2020-10-27 10:31:48 +01:00
2020-10-29 19:34:29 -05:00
2020-10-08 17:19:05 +02:00
2020-08-07 10:04:57 +02:00
2020-08-07 09:50:34 +02:00
2020-11-03 16:35:44 +03:00
2020-08-07 09:50:34 +02:00
2020-09-03 15:01:50 +02:00
2020-08-07 09:50:34 +02:00
2020-11-06 12:32:54 +11:00
2020-11-05 16:08:00 -06:00
2020-08-25 10:04:15 -06:00
2020-08-07 09:50:34 +02:00
2020-10-08 18:19:09 +02:00
2020-10-10 22:04:51 +11:00
2020-10-19 09:11:00 -07:00
2020-08-07 09:50:34 +02:00
2020-09-09 17:01:17 +02:00
2020-09-02 14:20:41 +02:00
2020-10-01 17:59:04 +02:00
2020-10-19 08:12:33 -07:00
2020-11-06 12:32:54 +11:00
2020-10-19 08:12:33 -07:00
2020-11-02 22:15:52 +01:00
2020-08-07 09:50:34 +02:00
2020-10-29 19:34:29 -05:00
2020-08-07 09:50:34 +02:00
2020-10-20 12:07:42 +02:00
2020-10-19 08:12:33 -07:00
2020-11-04 02:14:48 -05:00
2020-08-07 09:50:34 +02:00
2020-08-07 09:50:34 +02:00
2020-08-07 09:50:34 +02:00
2020-08-07 09:50:34 +02:00
2020-10-10 22:04:51 +11:00
2020-10-28 10:21:07 +01:00
2020-11-05 16:08:00 -06:00
2020-08-07 09:50:34 +02:00
2020-08-07 09:50:34 +02:00
2020-08-07 09:50:34 +02:00
2020-09-30 12:21:35 -05:00
2020-09-18 19:24:58 +02:00
2020-08-07 09:50:34 +02:00
2020-09-18 19:24:58 +02:00
2020-09-15 23:13:01 +05:30
2020-10-20 11:00:16 +02:00
2020-10-22 11:59:37 +11:00
2020-10-02 11:47:34 +02:00
2020-08-07 09:50:34 +02:00
2020-08-07 09:50:34 +02:00
2020-08-07 09:50:34 +02:00