From e86bff3621bb393bf917572aa51b21f28691000d Mon Sep 17 00:00:00 2001 From: Alaska Date: Fri, 29 Aug 2025 20:00:05 +0200 Subject: [PATCH] =?UTF-8?q?Fix:=20UI:=20Correct=20spelling=20of=20B=C3=A9z?= =?UTF-8?q?ier=20in=20Curves=20add=20menu?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Pull Request: https://projects.blender.org/blender/blender/pulls/145338 --- scripts/startup/bl_ui/space_view3d.py | 2 +- source/blender/editors/curves/intern/curves_ops.cc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/startup/bl_ui/space_view3d.py b/scripts/startup/bl_ui/space_view3d.py index cf5d676da4b..123e4407521 100644 --- a/scripts/startup/bl_ui/space_view3d.py +++ b/scripts/startup/bl_ui/space_view3d.py @@ -5875,7 +5875,7 @@ class VIEW3D_MT_edit_curves_add(Menu): def draw(self, _context): layout = self.layout - layout.operator("curves.add_bezier", text="Bezier", icon='CURVE_BEZCURVE') + layout.operator("curves.add_bezier", text="Bézier", icon='CURVE_BEZCURVE') layout.operator("curves.add_circle", text="Circle", icon='CURVE_BEZCIRCLE') diff --git a/source/blender/editors/curves/intern/curves_ops.cc b/source/blender/editors/curves/intern/curves_ops.cc index 94282d41da2..4f80767f6de 100644 --- a/source/blender/editors/curves/intern/curves_ops.cc +++ b/source/blender/editors/curves/intern/curves_ops.cc @@ -1716,9 +1716,9 @@ static wmOperatorStatus exec(bContext *C, wmOperator *op) static void CURVES_OT_add_bezier(wmOperatorType *ot) { - ot->name = "Add Bezier"; + ot->name = "Add Bézier"; ot->idname = __func__; - ot->description = "Add new bezier curve"; + ot->description = "Add new Bézier curve"; ot->exec = add_bezier::exec; ot->poll = editable_curves_in_edit_mode_poll;