diff options
author | Germano <germano.costa@ig.com.br> | 2018-05-25 01:09:01 +0300 |
---|---|---|
committer | Germano <germano.costa@ig.com.br> | 2018-05-25 01:09:01 +0300 |
commit | a0dbaf1d9db90a225bea723e0053241bcbc6a457 (patch) | |
tree | 67ed3fdf1e1e0111639a34745f978d81c2030fdc /source/blender/editors/curve/editcurve.c | |
parent | 302fea6b6113f480f5961ddef4a4b967e873f0ef (diff) |
ED_transform_snap_object: remove unused bmain parameter in context creation.
Diffstat (limited to 'source/blender/editors/curve/editcurve.c')
-rw-r--r-- | source/blender/editors/curve/editcurve.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/curve/editcurve.c b/source/blender/editors/curve/editcurve.c index eb180c6bde9..1987fe56bdb 100644 --- a/source/blender/editors/curve/editcurve.c +++ b/source/blender/editors/curve/editcurve.c @@ -5026,7 +5026,7 @@ static int add_vertex_invoke(bContext *C, wmOperator *op, const wmEvent *event) const float mval[2] = {UNPACK2(event->mval)}; struct SnapObjectContext *snap_context = ED_transform_snap_object_context_create_view3d( - CTX_data_main(C), vc.scene, CTX_data_depsgraph(C), 0, vc.ar, vc.v3d); + vc.scene, CTX_data_depsgraph(C), 0, vc.ar, vc.v3d); ED_transform_snap_object_project_view3d( snap_context, |