Clarify UV align operator behavior. Fix tooltips.

Clarify operator behavior of UV align operator, and fix the tooltips.
The tooltips were either vague/ambiguous,
or even wrong, see https://projects.blender.org/blender/blender-manual/issues/78557

Pull Request: https://projects.blender.org/blender/blender/pulls/112704
This commit is contained in:
Gilberto Rodrigues 2023-09-27 08:43:56 +02:00 committed by Pratik Borhade
parent cdac2642ea
commit 7bc4478484
1 changed files with 7 additions and 7 deletions

View File

@ -601,30 +601,30 @@ static void UV_OT_align(wmOperatorType *ot)
"ALIGN_S",
0,
"Straighten",
"Align UVs along the line defined by the endpoints"},
"Align UV vertices along the line defined by the endpoints"},
{UV_STRAIGHTEN_X,
"ALIGN_T",
0,
"Straighten X",
"Align UVs along the line defined by the endpoints along the X axis"},
"Align UV vertices, moving them horizontally to the line defined by the endpoints"},
{UV_STRAIGHTEN_Y,
"ALIGN_U",
0,
"Straighten Y",
"Align UVs along the line defined by the endpoints along the Y axis"},
"Align UV vertices, moving them vertically to the line defined by the endpoints"},
{UV_ALIGN_AUTO,
"ALIGN_AUTO",
0,
"Align Auto",
"Automatically choose the axis on which there is most alignment already"},
{UV_ALIGN_X, "ALIGN_X", 0, "Align X", "Align UVs on X axis"},
{UV_ALIGN_Y, "ALIGN_Y", 0, "Align Y", "Align UVs on Y axis"},
"Automatically choose the direction on which there is most alignment already"},
{UV_ALIGN_X, "ALIGN_X", 0, "Align Vertically", "Align UV vertices on a vertical line"},
{UV_ALIGN_Y, "ALIGN_Y", 0, "Align Horizontally", "Align UV vertices on a horizontal line"},
{0, nullptr, 0, nullptr, nullptr},
};
/* identifiers */
ot->name = "Align";
ot->description = "Align selected UV vertices to an axis";
ot->description = "Aligns selected UV vertices on a line";
ot->idname = "UV_OT_align";
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;