@esotericsoftware/spine-canvas 4.2.76 → 4.2.78
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -3668,18 +3668,15 @@ var spine = (() => {
|
|
|
3668
3668
|
let finished = this.updateMixingFrom(from, delta);
|
|
3669
3669
|
from.animationLast = from.nextAnimationLast;
|
|
3670
3670
|
from.trackLast = from.nextTrackLast;
|
|
3671
|
-
if (to.nextTrackLast != -1) {
|
|
3672
|
-
|
|
3673
|
-
|
|
3674
|
-
if (from.
|
|
3675
|
-
|
|
3676
|
-
|
|
3677
|
-
|
|
3678
|
-
|
|
3679
|
-
|
|
3680
|
-
}
|
|
3681
|
-
return finished;
|
|
3682
|
-
}
|
|
3671
|
+
if (to.nextTrackLast != -1 && to.mixTime >= to.mixDuration) {
|
|
3672
|
+
if (from.totalAlpha == 0 || to.mixDuration == 0) {
|
|
3673
|
+
to.mixingFrom = from.mixingFrom;
|
|
3674
|
+
if (from.mixingFrom != null)
|
|
3675
|
+
from.mixingFrom.mixingTo = to;
|
|
3676
|
+
to.interruptAlpha = from.interruptAlpha;
|
|
3677
|
+
this.queue.end(from);
|
|
3678
|
+
}
|
|
3679
|
+
return finished;
|
|
3683
3680
|
}
|
|
3684
3681
|
from.trackTime += delta * from.timeScale;
|
|
3685
3682
|
to.mixTime += delta;
|