diff options
author | Sybren A. Stüvel <sybren@blender.org> | 2019-07-10 13:32:10 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2019-07-10 13:32:10 +0300 |
commit | 12ceea04344ac8267d391b57187ffd0aa336c3cb (patch) | |
tree | 11740dd5c765b9c998cd1d1b0175f57148a4dac1 /doc | |
parent | f9232c080d1f0ac5da6b9ab6a5f28aac0d91469f (diff) |
Fix crash when clicking in window while Blender starts
A mouse click in the window will trigger the `VIEW3D_OT_cursor3d` operator
before the viewport is available. This causes a segfault in
`GPU_viewport_engines_data_validate()`.
Other callers of `WM_draw_region_get_viewport()` already check for `NULL`
being returned and handle it gracefully.
Reviewed By: jbakker, fclem
Differential Revision: https://developer.blender.org/D5216
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions