UI: Anim: Sort Mirror key menu

Re-order items in the Mirror key menu so they are grouped by times,
and values. Split by a separator.

The position of most items stays the same.

No functional changes.

See PR for screenshots.

Pull Request: https://projects.blender.org/blender/blender/pulls/158341
This commit is contained in:
Pablo Vazquez 2026-05-08 17:28:24 +02:00 • committed by Pablo Vazquez
parent 0af302f2f6
commit 292bbb87c8

View file

@ -2617,27 +2617,28 @@ static const EnumPropertyItem prop_graphkeys_mirror_types[] = {
0,
"By Times Over Current Frame",
"Flip times of selected keyframes using the current frame as the mirror line"},
{GRAPHKEYS_MIRROR_MARKER,
"MARKER",
0,
"By Times Over First Selected Marker",
"Flip times of selected keyframes using the first selected marker as the reference point"},
{GRAPHKEYS_MIRROR_YAXIS,
"YAXIS",
0,
"By Times Over Zero Time",
"Flip times of selected keyframes, effectively reversing the order they appear in"},
RNA_ENUM_ITEM_SEPR,
{GRAPHKEYS_MIRROR_VALUE,
"VALUE",
0,
"By Values Over Cursor Value",
"Flip values of selected keyframes using the cursor value (Y/Horizontal component) as the "
"mirror line"},
{GRAPHKEYS_MIRROR_YAXIS,
"YAXIS",
0,
"By Times Over Zero Time",
"Flip times of selected keyframes, effectively reversing the order they appear in"},
{GRAPHKEYS_MIRROR_XAXIS,
"XAXIS",
0,
"By Values Over Zero Value",
"Flip values of selected keyframes (i.e. negative values become positive, and vice versa)"},
{GRAPHKEYS_MIRROR_MARKER,
"MARKER",
0,
"By Times Over First Selected Marker",
"Flip times of selected keyframes using the first selected marker as the reference point"},
{0, nullptr, 0, nullptr, nullptr},
};