Skip to content

Commit

Permalink
Order groups in the dope sheet in alphabetical order
Browse files Browse the repository at this point in the history
  • Loading branch information
acidbubbles committed Oct 30, 2022
1 parent 1cca19e commit a6b9d2f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/AtomAnimations/Animations/AtomAnimationClip.cs
Original file line number Diff line number Diff line change
Expand Up @@ -616,6 +616,11 @@ public IEnumerable<IAtomAnimationTargetsList> GetTargetGroups()
{
return GetAllTargets()
.GroupBy(t => t.group ?? t.animatableRefBase.groupKey)
.OrderBy(group =>
{
var first = group.First();
return first.group ?? first.animatableRefBase.groupLabel;
})
.Select(group =>
{
var first = group.First();
Expand Down

0 comments on commit a6b9d2f

Please sign in to comment.