Edit Mesh Selection: make sure that GL_SCISSOR_TEST is disabled.
Possible solution for T62999.
This commit is contained in:
@@ -2515,6 +2515,7 @@ void DRW_framebuffer_select_id_setup(ARegion *ar, const bool clear)
|
||||
glDisable(GL_DITHER);
|
||||
|
||||
GPU_depth_test(true);
|
||||
glDisable(GL_SCISSOR_TEST);
|
||||
|
||||
if (clear) {
|
||||
GPU_framebuffer_clear_color_depth(
|
||||
@@ -2536,11 +2537,12 @@ void DRW_framebuffer_select_id_release(ARegion *ar)
|
||||
ED_view3d_clipping_disable();
|
||||
}
|
||||
|
||||
GPU_framebuffer_restore();
|
||||
|
||||
glEnable(GL_SCISSOR_TEST);
|
||||
GPU_depth_test(false);
|
||||
glEnable(GL_DITHER);
|
||||
|
||||
GPU_framebuffer_restore();
|
||||
|
||||
DRW_opengl_context_disable();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user