Modify BlendKey's sort to use AlphaCompare in order to create a deterministic sort Co-authored-by: A Thousand Ships <[email protected]>
@@ -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);
};