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