Fix T56524: Navigate Gizmo obscured by objects in orthographic view

This commit is contained in:
Clément Foucault 2018-09-04 22:25:42 +02:00
parent ba6daadb9d
commit ecbfc7ade5
Notes: blender-bot 2023-02-14 05:24:32 +01:00
Referenced by issue #56524, Navigate Gizmo obscured by objects
1 changed files with 1 additions and 0 deletions

View File

@ -1558,6 +1558,7 @@ void DRW_draw_render_loop_ex(
if ((v3d->flag2 & V3D_RENDER_OVERRIDE) == 0) {
/* Draw 2D after region info so we can draw on top of the camera passepartout overlay.
* 'DRW_draw_region_info' sets the projection in pixel-space. */
glDisable(GL_DEPTH_TEST);
DRW_draw_gizmo_2d();
glEnable(GL_DEPTH_TEST);
}