fix the sorting of blend_times in animation player

Modify BlendKey's sort to use  AlphaCompare in order to create a deterministic sort

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
This commit is contained in:
Jacob Millner 2024-07-03 09:56:39 -04:00
parent f0d15bbfdf
commit 825cb3e6c5
1 changed files with 2 additions and 2 deletions

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);
}
}
};