tornavis/source/blender/windowmanager/gizmo
Jeroen Bakker cb986446e2 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.
2022-02-04 14:00:06 +01:00
..
intern Fix Crash: Switching to wireframe mode. 2022-02-04 14:00:06 +01:00
WM_gizmo_api.h Cleanup: remove redundant const qualifiers for POD types 2022-01-07 14:16:26 +11:00
WM_gizmo_types.h Cleanup: Move remaning node editor files to C++ 2021-11-12 12:12:27 -06:00
wm_gizmo_fn.h Fix spin-gizmo button tool-tip placement 2021-04-19 17:17:49 +10:00
wm_gizmo_wmapi.h Cleanup: move public doc-strings into headers for 'windowmanager' 2021-12-08 17:12:41 +11:00