Workbench: Fix default view not reset after drawing

This fix jitter of overlay and GPencil. But I'm not sure this should
be the responsibility of the subsequent draw engines or the responsibility
of the current engine to reset the view.
This commit is contained in:
Clément Foucault 2020-03-15 22:49:20 +01:00
parent cebff2ff30
commit 7a19a99675
1 changed files with 2 additions and 0 deletions

View File

@ -529,6 +529,8 @@ void workbench_draw_finish(void *ved)
{
WORKBENCH_Data *vedata = ved;
workbench_volume_draw_finish(vedata);
/* Reset default view. */
DRW_view_set_active(NULL);
}
static void workbench_engine_free(void)