diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-07-26 12:51:43 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-07-26 12:51:43 +0300 |
commit | 62338abde433b9fae1482664b9333aab3fdea602 (patch) | |
tree | 487bd66064a0aa60edb273b5a515da4ed5b9b495 /source/blender | |
parent | 1693a5efe91999b60b3dc0bdff727473b3bd00bb (diff) |
Cleanup: Remove unused depsgraph pointer
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/curve/editcurve_paint.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/source/blender/editors/curve/editcurve_paint.c b/source/blender/editors/curve/editcurve_paint.c index 6811e32cc2a..9debea7bf88 100644 --- a/source/blender/editors/curve/editcurve_paint.c +++ b/source/blender/editors/curve/editcurve_paint.c @@ -89,8 +89,6 @@ struct StrokeElem { }; struct CurveDrawData { - Depsgraph *depsgraph; - short init_event_type; short curve_type; @@ -578,8 +576,6 @@ static bool curve_draw_init(bContext *C, wmOperator *op, bool is_invoke) struct CurveDrawData *cdd = MEM_callocN(sizeof(*cdd), __func__); - cdd->depsgraph = CTX_data_depsgraph(C); - if (is_invoke) { ED_view3d_viewcontext_init(C, &cdd->vc); if (ELEM(NULL, cdd->vc.ar, cdd->vc.rv3d, cdd->vc.v3d, cdd->vc.win, cdd->vc.scene)) { |