@esotericsoftware/spine-core 4.2.76 → 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/AnimationState.js +11 -13
- package/dist/esm/spine-core.min.mjs +2 -2
- package/dist/esm/spine-core.mjs +9 -12
- package/dist/esm/spine-core.mjs.map +2 -2
- package/dist/iife/spine-core.js +9 -12
- package/dist/iife/spine-core.js.map +2 -2
- package/dist/iife/spine-core.min.js +1 -1
- package/package.json +1 -1
package/dist/iife/spine-core.js
CHANGED
|
@@ -3665,18 +3665,15 @@ var spine = (() => {
|
|
|
3665
3665
|
let finished = this.updateMixingFrom(from, delta);
|
|
3666
3666
|
from.animationLast = from.nextAnimationLast;
|
|
3667
3667
|
from.trackLast = from.nextTrackLast;
|
|
3668
|
-
if (to.nextTrackLast != -1) {
|
|
3669
|
-
|
|
3670
|
-
|
|
3671
|
-
if (from.
|
|
3672
|
-
|
|
3673
|
-
|
|
3674
|
-
|
|
3675
|
-
|
|
3676
|
-
|
|
3677
|
-
}
|
|
3678
|
-
return finished;
|
|
3679
|
-
}
|
|
3668
|
+
if (to.nextTrackLast != -1 && to.mixTime >= to.mixDuration) {
|
|
3669
|
+
if (from.totalAlpha == 0 || to.mixDuration == 0) {
|
|
3670
|
+
to.mixingFrom = from.mixingFrom;
|
|
3671
|
+
if (from.mixingFrom != null)
|
|
3672
|
+
from.mixingFrom.mixingTo = to;
|
|
3673
|
+
to.interruptAlpha = from.interruptAlpha;
|
|
3674
|
+
this.queue.end(from);
|
|
3675
|
+
}
|
|
3676
|
+
return finished;
|
|
3680
3677
|
}
|
|
3681
3678
|
from.trackTime += delta * from.timeScale;
|
|
3682
3679
|
to.mixTime += delta;
|