[Bf-blender-cvs] [62338abde43] master: Cleanup: Remove unused depsgraph pointer
Sergey Sharybin
noreply at git.blender.org
Fri Jul 26 11:52:18 CEST 2019
Commit: 62338abde433b9fae1482664b9333aab3fdea602
Author: Sergey Sharybin
Date: Fri Jul 26 11:51:43 2019 +0200
Branches: master
https://developer.blender.org/rB62338abde433b9fae1482664b9333aab3fdea602
Cleanup: Remove unused depsgraph pointer
===================================================================
M source/blender/editors/curve/editcurve_paint.c
===================================================================
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)) {
More information about the Bf-blender-cvs
mailing list