@esotericsoftware/spine-webgl 4.2.67 → 4.2.68
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,15 +3708,18 @@ 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.
|
|
3712
|
-
|
|
3713
|
-
|
|
3714
|
-
if (from.
|
|
3715
|
-
|
|
3716
|
-
|
|
3717
|
-
|
|
3718
|
-
|
|
3719
|
-
|
|
3711
|
+
if (to.nextTrackLast != -1) {
|
|
3712
|
+
const discard = to.mixTime == 0 && from.mixTime == 0;
|
|
3713
|
+
if (to.mixTime >= to.mixDuration || discard) {
|
|
3714
|
+
if (from.totalAlpha == 0 || to.mixDuration == 0 || discard) {
|
|
3715
|
+
to.mixingFrom = from.mixingFrom;
|
|
3716
|
+
if (from.mixingFrom != null)
|
|
3717
|
+
from.mixingFrom.mixingTo = to;
|
|
3718
|
+
to.interruptAlpha = from.interruptAlpha;
|
|
3719
|
+
this.queue.end(from);
|
|
3720
|
+
}
|
|
3721
|
+
return finished;
|
|
3722
|
+
}
|
|
3720
3723
|
}
|
|
3721
3724
|
from.trackTime += delta * from.timeScale;
|
|
3722
3725
|
to.mixTime += delta;
|