Cleanup: unused variable
This commit is contained in:
@@ -141,7 +141,6 @@ static bool workbench_in_front_history_needed(WORKBENCH_Data *vedata)
|
|||||||
WORKBENCH_StorageList *stl = vedata->stl;
|
WORKBENCH_StorageList *stl = vedata->stl;
|
||||||
const DRWContextState *draw_ctx = DRW_context_state_get();
|
const DRWContextState *draw_ctx = DRW_context_state_get();
|
||||||
const View3D *v3d = draw_ctx->v3d;
|
const View3D *v3d = draw_ctx->v3d;
|
||||||
const Object *obact = draw_ctx->obact;
|
|
||||||
|
|
||||||
if (!v3d || (v3d->flag2 & V3D_HIDE_OVERLAYS)) {
|
if (!v3d || (v3d->flag2 & V3D_HIDE_OVERLAYS)) {
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user