diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-10-26 08:07:18 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-10-26 08:07:18 +0400 |
commit | ff7dbdbaeef1e1be0d8da18cb97a9e91be27f934 (patch) | |
tree | 3df3af811c7565ea6d969a1f6004e0a9663edbcb /source/blender/editors/curve/editcurve.c | |
parent | b461cc9cd4f9e1827feec81b88ffc8c3b981755f (diff) |
rename give_cursor to ED_view3d_cursor3d_get
Diffstat (limited to 'source/blender/editors/curve/editcurve.c')
-rw-r--r-- | source/blender/editors/curve/editcurve.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/curve/editcurve.c b/source/blender/editors/curve/editcurve.c index 7b03a15a011..bd91740521d 100644 --- a/source/blender/editors/curve/editcurve.c +++ b/source/blender/editors/curve/editcurve.c @@ -4485,7 +4485,7 @@ static int spin_invoke(bContext *C, wmOperator *op, const wmEvent *UNUSED(event) if (rv3d) copy_v3_v3(axis, rv3d->viewinv[2]); - RNA_float_set_array(op->ptr, "center", give_cursor(scene, v3d)); + RNA_float_set_array(op->ptr, "center", ED_view3d_cursor3d_get(scene, v3d)); RNA_float_set_array(op->ptr, "axis", axis); return spin_exec(C, op); @@ -4821,7 +4821,7 @@ static int add_vertex_invoke(bContext *C, wmOperator *op, const wmEvent *event) mul_v3_m4v3(location, vc.obedit->obmat, bp->vec); } else { - copy_v3_v3(location, give_cursor(vc.scene, vc.v3d)); + copy_v3_v3(location, ED_view3d_cursor3d_get(vc.scene, vc.v3d)); } ED_view3d_win_to_3d_int(vc.ar, location, event->mval, location); |