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:
parent
cebff2ff30
commit
7a19a99675
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue