@esotericsoftware/spine-webgl 4.2.75 → 4.2.77
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.
package/dist/iife/spine-webgl.js
CHANGED
|
@@ -3708,18 +3708,15 @@ var spine = (() => {
|
|
|
3708
3708
|
let finished = this.updateMixingFrom(from, delta);
|
|
3709
3709
|
from.animationLast = from.nextAnimationLast;
|
|
3710
3710
|
from.trackLast = from.nextTrackLast;
|
|
3711
|
-
if (to.nextTrackLast != -1) {
|
|
3712
|
-
|
|
3713
|
-
|
|
3714
|
-
if (from.
|
|
3715
|
-
|
|
3716
|
-
|
|
3717
|
-
|
|
3718
|
-
|
|
3719
|
-
|
|
3720
|
-
}
|
|
3721
|
-
return finished;
|
|
3722
|
-
}
|
|
3711
|
+
if (to.nextTrackLast != -1 && to.mixTime >= to.mixDuration) {
|
|
3712
|
+
if (from.totalAlpha == 0 || to.mixDuration == 0) {
|
|
3713
|
+
to.mixingFrom = from.mixingFrom;
|
|
3714
|
+
if (from.mixingFrom != null)
|
|
3715
|
+
from.mixingFrom.mixingTo = to;
|
|
3716
|
+
to.interruptAlpha = from.interruptAlpha;
|
|
3717
|
+
this.queue.end(from);
|
|
3718
|
+
}
|
|
3719
|
+
return finished;
|
|
3723
3720
|
}
|
|
3724
3721
|
from.trackTime += delta * from.timeScale;
|
|
3725
3722
|
to.mixTime += delta;
|