@esotericsoftware/spine-pixi-v8 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.
@@ -3696,18 +3696,15 @@ var spine = (() => {
3696
3696
  let finished = this.updateMixingFrom(from, delta);
3697
3697
  from.animationLast = from.nextAnimationLast;
3698
3698
  from.trackLast = from.nextTrackLast;
3699
- if (to.nextTrackLast != -1) {
3700
- const discard = to.mixTime == 0 && from.mixTime == 0;
3701
- if (to.mixTime >= to.mixDuration || discard) {
3702
- if (from.totalAlpha == 0 || to.mixDuration == 0 || discard) {
3703
- to.mixingFrom = from.mixingFrom;
3704
- if (from.mixingFrom != null)
3705
- from.mixingFrom.mixingTo = to;
3706
- to.interruptAlpha = from.interruptAlpha;
3707
- this.queue.end(from);
3708
- }
3709
- return finished;
3699
+ if (to.nextTrackLast != -1 && to.mixTime >= to.mixDuration) {
3700
+ if (from.totalAlpha == 0 || to.mixDuration == 0) {
3701
+ to.mixingFrom = from.mixingFrom;
3702
+ if (from.mixingFrom != null)
3703
+ from.mixingFrom.mixingTo = to;
3704
+ to.interruptAlpha = from.interruptAlpha;
3705
+ this.queue.end(from);
3710
3706
  }
3707
+ return finished;
3711
3708
  }
3712
3709
  from.trackTime += delta * from.timeScale;
3713
3710
  to.mixTime += delta;
@@ -12664,7 +12661,7 @@ var spine = (() => {
12664
12661
  skeletonData: options
12665
12662
  };
12666
12663
  }
12667
- super();
12664
+ super({});
12668
12665
  const skeletonData = options instanceof SkeletonData ? options : options.skeletonData;
12669
12666
  this.skeleton = new Skeleton(skeletonData);
12670
12667
  this.state = new AnimationState(new AnimationStateData(skeletonData));