diff options
author | Jeroen Bakker <jeroen@blender.org> | 2022-02-04 16:00:06 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2022-02-04 16:00:06 +0300 |
commit | cb986446e29a51b07bdb73b999a0339df5ecdeb4 (patch) | |
tree | 4fbc0748d44444eed28db4d4850fead4513d1f49 /source/blender/nodes/function | |
parent | b8a634cb1dff736f5c4b2109e759cfb8ac848c41 (diff) |
Fix Crash: Switching to wireframe mode.
Crash introduced by {rB0cb5eae}.
When switching to between drawing modes the region.draw_buffer could be
uninitialized when the gizmo depth test is performed. When the mouse is
placed on top of a gizmo part that could be highlighted would crash.
This fix adds a early exit when depth testing is requested, but there
isn't a draw_buffer. Not sure this is an root cause fix.
Reported by multiple animators in Blender Studio.
Diffstat (limited to 'source/blender/nodes/function')
0 files changed, 0 insertions, 0 deletions