Cleanup: Curves: Correct incorrect function name
This commit is contained in:
committed by
Hans Goudey
parent
4a7209f7ed
commit
8e0c050fa1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user