diff --git a/source/blender/editors/curves/intern/curves_ops.cc b/source/blender/editors/curves/intern/curves_ops.cc index 82804d8d87b..33c17a28bd5 100644 --- a/source/blender/editors/curves/intern/curves_ops.cc +++ b/source/blender/editors/curves/intern/curves_ops.cc @@ -1264,7 +1264,7 @@ static void CURVES_OT_delete(wmOperatorType *ot) namespace curves_duplicate { -static int delete_exec(bContext *C, wmOperator * /*op*/) +static int duplicate_exec(bContext *C, wmOperator * /*op*/) { for (Curves *curves_id : get_unique_editable_curves(*C)) { bke::CurvesGeometry &curves = curves_id->geometry.wrap(); @@ -1294,7 +1294,7 @@ static void CURVES_OT_duplicate(wmOperatorType *ot) ot->idname = __func__; ot->description = "Copy selected points or curves"; - ot->exec = curves_duplicate::delete_exec; + ot->exec = curves_duplicate::duplicate_exec; ot->poll = editable_curves_in_edit_mode_poll; ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;