3D View: 3D Cursor was not restoring GL state

Caused camera frame to be double width.
This commit is contained in:
Campbell Barton 2018-06-17 14:43:31 +02:00
parent 446a646551
commit 547e962bf6
1 changed files with 3 additions and 0 deletions

View File

@ -732,6 +732,9 @@ void DRW_draw_cursor(void)
GWN_batch_program_set(cursor_batch, GPU_shader_get_program(shader), GPU_shader_get_interface(shader));
GWN_batch_draw(cursor_batch);
glDisable(GL_BLEND);
glDisable(GL_LINE_SMOOTH);
}
}
}