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:
parent
f0d15bbfdf
commit
825cb3e6c5
|
@ -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);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue