mirror of
https://github.com/godotengine/godot.git
synced 2025-01-06 17:37:18 +08:00
Merge pull request #93876 from JacobMillner/fix-blend-times-sorting
Fix AnimationPlayer `blend_times` sorting
This commit is contained in:
commit
640d8151ff
@ -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
Block a user