mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 01:36:02 +08:00
Revert AnimationState fix, which likely breaks mixing > 2 animations (even when multiple mixing is false, by using multiple tracks).
This commit is contained in:
parent
6ceb623e54
commit
6454d76700
@ -218,7 +218,7 @@ public class AnimationState {
|
||||
for (int i = 0; i < timelineCount; i++) {
|
||||
Timeline timeline = (Timeline)timelines[i];
|
||||
boolean setupPose = timelinesFirst[i];
|
||||
float alpha = timelinesLast != null && !timelinesLast[i] ? alphaBase : alphaMix;
|
||||
float alpha = timelinesLast != null && setupPose && !timelinesLast[i] ? alphaBase : alphaMix;
|
||||
if (timeline instanceof RotateTimeline)
|
||||
applyRotateTimeline(timeline, skeleton, animationTime, alpha, setupPose, timelinesRotation, i << 1, firstFrame);
|
||||
else {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user