From 8e0c050fa1f879ec2f587a302a206e750d84b914 Mon Sep 17 00:00:00 2001 From: Laurynas Duburas Date: Wed, 15 Jan 2025 11:06:53 -0500 Subject: [PATCH] Cleanup: Curves: Correct incorrect function name --- source/blender/editors/curves/intern/curves_ops.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;