Blender Git Loki

Git Commits -> Revision 883889b

Revision 883889b by Campbell Barton (soc-2021-curves)
June 21, 2021, 14:31 (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: 883889baf1861013ee0bbba5097b081276180c81
Parent Commit: f690394
Committed By: Dilith Jayakody
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