UI: Use consistent naming for mode toggle on undo history

Change name of OBJECT_OT_editmode_toggle to "Edit Mode" and name of
PAINT_OT_texture_paint_toggle to "Texture Paint Mode" to display in a
more consistent manner in Undo History.

Pull Request: https://projects.blender.org/blender/blender/pulls/112703
This commit is contained in:
Gilberto.R
2024-12-11 21:29:43 +01:00
committed by Harley Acheson
parent 4543177ca2
commit 8ceaaafde8
2 changed files with 2 additions and 2 deletions

View File

@@ -1003,7 +1003,7 @@ void OBJECT_OT_editmode_toggle(wmOperatorType *ot)
{
/* identifiers */
ot->name = "Toggle Edit Mode";
ot->name = "Edit Mode";
ot->description = "Toggle object's edit mode";
ot->idname = "OBJECT_OT_editmode_toggle";

View File

@@ -1010,7 +1010,7 @@ static int texture_paint_toggle_exec(bContext *C, wmOperator *op)
void PAINT_OT_texture_paint_toggle(wmOperatorType *ot)
{
/* identifiers */
ot->name = "Texture Paint Toggle";
ot->name = "Texture Paint Mode";
ot->idname = "PAINT_OT_texture_paint_toggle";
ot->description = "Toggle texture paint mode in 3D view";