1
1

Fix: wrong operator return value

This commit is contained in:
2022-04-05 12:04:47 +02:00
parent 850b887339
commit d88b821d28

View File

@@ -796,7 +796,7 @@ static int curves_sculptmode_toggle_exec(bContext *C, wmOperator *op)
WM_toolsystem_update_from_context_view3d(C);
WM_event_add_notifier(C, NC_SCENE | ND_MODE, nullptr);
return OPERATOR_CANCELLED;
return OPERATOR_FINISHED;
}
static void CURVES_OT_sculptmode_toggle(wmOperatorType *ot)