Skip to content

Commit

Permalink
[libgdx] Fixed pooled track entries not resetting mixBlend.
Browse files Browse the repository at this point in the history
closes #1746
  • Loading branch information
NathanSweet committed Jun 15, 2021
1 parent dbec33e commit 8e21d09
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -726,6 +726,7 @@ private TrackEntry trackEntry (int trackIndex, Animation animation, boolean loop
entry.interruptAlpha = 1;
entry.mixTime = 0;
entry.mixDuration = last == null ? 0 : data.getMix(last.animation, animation);
entry.mixBlend = MixBlend.replace;
return entry;
}

Expand Down

0 comments on commit 8e21d09

Please sign in to comment.