diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-08-02 05:04:59 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-08-02 05:05:13 +0300 |
commit | 9be956c326d4cc68cf93a08fb8c8c7e09dcd5eb7 (patch) | |
tree | 47b4dfcd52c8a04be7613b1ac04d1df8ca35094a /source/blender/editors/space_view3d/view3d_draw_legacy.c | |
parent | 53a091663694a8d24e6b97d269f5e21b980bd6a1 (diff) |
Cleanup: unused variable
Diffstat (limited to 'source/blender/editors/space_view3d/view3d_draw_legacy.c')
-rw-r--r-- | source/blender/editors/space_view3d/view3d_draw_legacy.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/source/blender/editors/space_view3d/view3d_draw_legacy.c b/source/blender/editors/space_view3d/view3d_draw_legacy.c index 3fdc17c571e..39cbc67f996 100644 --- a/source/blender/editors/space_view3d/view3d_draw_legacy.c +++ b/source/blender/editors/space_view3d/view3d_draw_legacy.c @@ -155,12 +155,8 @@ void ED_view3d_clipping_enable(void) /** * \note Only use in object mode. */ -static void validate_object_select_id(struct Depsgraph *depsgraph, - Scene *scene, - ViewLayer *view_layer, - ARegion *ar, - View3D *v3d, - Object *obact) +static void validate_object_select_id( + struct Depsgraph *depsgraph, ViewLayer *view_layer, ARegion *ar, View3D *v3d, Object *obact) { Object *obact_eval = DEG_get_evaluated_object(depsgraph, obact); @@ -223,8 +219,7 @@ void ED_view3d_select_id_validate(ViewContext *vc) /* TODO: Create a flag in `DRW_manager` because the drawing is no longer * made on the backbuffer in this case. */ if (vc->v3d->flag & V3D_INVALID_BACKBUF) { - validate_object_select_id( - vc->depsgraph, vc->scene, vc->view_layer, vc->ar, vc->v3d, vc->obact); + validate_object_select_id(vc->depsgraph, vc->view_layer, vc->ar, vc->v3d, vc->obact); } } |