diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-06-16 05:30:48 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-06-16 05:50:00 +0300 |
commit | 2209321f7817f349874cd03003c184408a286511 (patch) | |
tree | 73e5e9f71b7687e9b4f7063de1033f6b339afbc0 /release | |
parent | be8a201a164f8a3ab2e61b1d85bbe75ebfbb0b30 (diff) |
Screen: simplify internal logic for new full-screen areas
Creating a new full screen area had it's area initialized as empty,
updating the screen then set the area to a 3D view (as a fallback),
before the actual area type was set.
This made setting the intended space-type run the 3D views exit callback
on a 3D view without a View3D struct allocated, which the exit callback
needed to account for.
Resolve by calling ED_screen_change after the area type has been set.
Diffstat (limited to 'release')
0 files changed, 0 insertions, 0 deletions