diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-03-09 14:28:28 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-03-09 14:28:28 +0400 |
commit | 4a01ba4ba57bb26d1cf885e472e2ee4115ecb805 (patch) | |
tree | db8b0fe95ab30b438544eb562edb6086c7f83341 /source/blender/editors/curve/editcurve.c | |
parent | 35b9fcb8718d96af9b5c6292ea19bdd64b4b8406 (diff) |
ruler3d: replace ED_view3d_cursor3d_position() with lower level function view3d_get_view_aligned_coordinate()
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 92468550d1e..31a3eb5ca5d 100644 --- a/source/blender/editors/curve/editcurve.c +++ b/source/blender/editors/curve/editcurve.c @@ -4785,7 +4785,7 @@ static int add_vertex_invoke(bContext *C, wmOperator *op, wmEvent *event) copy_v3_v3(location, give_cursor(vc.scene, vc.v3d)); } - view3d_get_view_aligned_coordinate(&vc, location, event->mval, TRUE); + view3d_get_view_aligned_coordinate(vc.ar, location, event->mval, true); RNA_float_set_array(op->ptr, "location", location); } |