Merge pull request #93876 from JacobMillner/fix-blend-times-sorting

Fix AnimationPlayer `blend_times` sorting
This commit is contained in:
Rémi Verschelde 2024-07-04 11:32:07 +02:00
commit 640d8151ff
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -95,9 +95,9 @@ private:
}
bool operator<(const BlendKey &bk) const {
if (from == bk.from) {
return to < bk.to;
return StringName::AlphCompare()(to, bk.to);
} else {
return from < bk.from;
return StringName::AlphCompare()(from, bk.from);
}
}
};