Files
test/source/blender
Julian Eisel 7fb58a33f0 Fix #111332: 4.0 files cannot be opened in 3.6, invalid region types
4.0 files now include asset shelf regions in 3D views. This region type is not
known to older Blender versions. So far, in such cases we would just change
the region type to be the first known region type and keep the region storage
otherwise. This was arbitrary, and in fact unsafe: the reused settings may
violate invariants/assumptions for a region type and worse, the
`ARegion.regiondata` can only be interpreted and correctly written to files
if the region type is known.

Make sure all invalid regions (regions where the type cannot be restored) are
removed on file read.

Committed to 3.6 release branch as e2d4403497.

Pull Request: https://projects.blender.org/blender/blender/pulls/111483
2023-08-29 14:10:43 +02:00
..
2023-08-28 15:01:05 +02:00
2023-08-25 09:40:42 +10:00
2023-08-18 08:56:12 +10:00
2023-08-28 21:38:38 -07:00
2023-08-29 15:55:09 +10:00
2023-08-28 15:01:05 +02:00
2023-08-29 16:43:20 +10:00
2023-08-29 12:43:02 +02:00
2023-08-28 15:01:05 +02:00
2023-08-28 18:02:31 +02:00
2023-08-24 11:38:41 +10:00