diff options
author | Joseph Eagar <joeedh@gmail.com> | 2021-09-18 06:13:39 +0300 |
---|---|---|
committer | Joseph Eagar <joeedh@gmail.com> | 2021-09-18 06:13:39 +0300 |
commit | f0c35d16f39d837c7bceb6740d3fe9c440676564 (patch) | |
tree | e88f2b8ef0a2999cb45a7c83d5e88d1aa6df0044 /source/blender/editors/curve/editcurve.c | |
parent | d3bba94bf243c82b0c94b176f0541511e29bbcf3 (diff) | |
parent | 6cf734a2e5d2496d1b2d33bc7613b56a9f9fc2ec (diff) |
Merge branch 'master' into temp_bmesh_multirestemp_bmesh_multires
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 c399abfa52d..9b43e23bd32 100644 --- a/source/blender/editors/curve/editcurve.c +++ b/source/blender/editors/curve/editcurve.c @@ -5620,7 +5620,7 @@ static int add_vertex_invoke(bContext *C, wmOperator *op, const wmEvent *event) void CURVE_OT_vertex_add(wmOperatorType *ot) { /* identifiers */ - ot->name = "Add Vertex"; + ot->name = "Extrude to Cursor or Add"; ot->idname = "CURVE_OT_vertex_add"; ot->description = "Add a new control point (linked to only selected end-curve one, if any)"; @@ -5630,7 +5630,7 @@ void CURVE_OT_vertex_add(wmOperatorType *ot) ot->poll = ED_operator_editcurve; /* flags */ - ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO; + ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO | OPTYPE_DEPENDS_ON_CURSOR; /* properties */ RNA_def_float_vector_xyz(ot->srna, |