Blender Git Loki

Git Commits -> Revision 2209321

Revision 2209321 by Campbell Barton (master)
June 16, 2021, 02:50 (GMT)
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.

Commit Details:

Full Hash: 2209321f7817f349874cd03003c184408a286511
Parent Commit: be8a201
Lines Changed: +17, -11

3 Modified Paths:

/source/blender/editors/include/ED_screen.h (+1, -1) (Diff)
/source/blender/editors/screen/screen_edit.c (+16, -5) (Diff)
/source/blender/editors/space_view3d/space_view3d.c (+0, -5) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021