Cleanup: unused variable

This commit is contained in:
Campbell Barton 2020-04-28 13:05:18 +10:00
parent 133bf05b18
commit 33017e9529
1 changed files with 0 additions and 1 deletions

View File

@ -141,7 +141,6 @@ static bool workbench_in_front_history_needed(WORKBENCH_Data *vedata)
WORKBENCH_StorageList *stl = vedata->stl;
const DRWContextState *draw_ctx = DRW_context_state_get();
const View3D *v3d = draw_ctx->v3d;
const Object *obact = draw_ctx->obact;
if (!v3d || (v3d->flag2 & V3D_HIDE_OVERLAYS)) {
return false;