486086d349aa0c471ba56e3ae703b697d4749e7f
Resolve a crash in !104831, which exposed an error in window creation with an empty space type. Creating a new window with an empty space type would do the following: - Create a new screen with a single empty area. - Refresh the screen, - Initialize the area. - Convert the empty area into a 3D viewport. - Run SpaceType::init() This doesn't cause any problems at the moment because `view3d_init` isn't doing anything however !104831 accesses the View3D from `area->spacedata.first` causing SCREEN_OT_area_dupli to crash. Resolve by supporting an area setup callback for WM_window_open so the area-data can be set before it's initialized. The issue remains where an unknown/empty ScrArea::spacetype results in a crash although it seems unlikely users run into this in practice. Whatever the case, that can be resolved separately.
…
Blender
Blender is the free and open source 3D creation suite. It supports the entirety of the 3D pipeline-modeling, rigging, animation, simulation, rendering, compositing, motion tracking and video editing.
Project Pages
Development
License
Blender as a whole is licensed under the GNU General Public License, Version 3. Individual files may have a different, but compatible license.
See blender.org/about/license for details.
Description
Languages
C++
78%
Python
14.9%
C
2.9%
GLSL
1.9%
CMake
1.2%
Other
0.9%
