efadb938f0c2642c8f329f0b709d1bcb67909c6b
Fixes: #132422, #133288. `ED_area_init()` is called when the editor in an area changes, this also changes the available regions. That means, region polling needs to be executed. The crash was happening because that wasn't the case, and the asset shelf region was initialized before the polling was executed, which allocates region data in the `on_poll_success()` callback. Also had to pass context to `ED_area_init()`, which is an annoyance, but should be fine. Similar functions like `ED_area_exit()` take it too. Pull Request: https://projects.blender.org/blender/blender/pulls/133388
…
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%
