mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-09 16:48:43 +08:00
[c] Ported AnimationState change
[ts] Rebuild artifacts
This commit is contained in:
parent
d34f7c7b11
commit
14c1df8cfb
@ -327,7 +327,7 @@ void spAnimationState_apply (spAnimationState* self, spSkeleton* skeleton) {
|
||||
mix = current->alpha;
|
||||
if (current->mixingFrom)
|
||||
mix *= _spAnimationState_applyMixingFrom(self, current, skeleton);
|
||||
else if (current->trackTime >= current->trackEnd)
|
||||
else if (current->trackTime >= current->trackEnd && current->next == 0)
|
||||
mix = 0;
|
||||
|
||||
/* Apply current entry. */
|
||||
|
||||
@ -1504,13 +1504,11 @@ var spine;
|
||||
continue;
|
||||
}
|
||||
}
|
||||
else {
|
||||
if (current.trackLast >= current.trackEnd && current.mixingFrom == null) {
|
||||
tracks[i] = null;
|
||||
this.queue.end(current);
|
||||
this.disposeNext(current);
|
||||
continue;
|
||||
}
|
||||
else if (current.trackLast >= current.trackEnd && current.mixingFrom == null) {
|
||||
tracks[i] = null;
|
||||
this.queue.end(current);
|
||||
this.disposeNext(current);
|
||||
continue;
|
||||
}
|
||||
this.updateMixingFrom(current, delta);
|
||||
current.trackTime += currentDelta;
|
||||
@ -1546,7 +1544,7 @@ var spine;
|
||||
var mix = current.alpha;
|
||||
if (current.mixingFrom != null)
|
||||
mix *= this.applyMixingFrom(current, skeleton);
|
||||
else if (current.trackTime >= current.trackEnd)
|
||||
else if (current.trackTime >= current.trackEnd && current.next == null)
|
||||
mix = 0;
|
||||
var animationLast = current.animationLast, animationTime = current.getAnimationTime();
|
||||
var timelineCount = current.animation.timelines.length;
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -1504,13 +1504,11 @@ var spine;
|
||||
continue;
|
||||
}
|
||||
}
|
||||
else {
|
||||
if (current.trackLast >= current.trackEnd && current.mixingFrom == null) {
|
||||
tracks[i] = null;
|
||||
this.queue.end(current);
|
||||
this.disposeNext(current);
|
||||
continue;
|
||||
}
|
||||
else if (current.trackLast >= current.trackEnd && current.mixingFrom == null) {
|
||||
tracks[i] = null;
|
||||
this.queue.end(current);
|
||||
this.disposeNext(current);
|
||||
continue;
|
||||
}
|
||||
this.updateMixingFrom(current, delta);
|
||||
current.trackTime += currentDelta;
|
||||
@ -1546,7 +1544,7 @@ var spine;
|
||||
var mix = current.alpha;
|
||||
if (current.mixingFrom != null)
|
||||
mix *= this.applyMixingFrom(current, skeleton);
|
||||
else if (current.trackTime >= current.trackEnd)
|
||||
else if (current.trackTime >= current.trackEnd && current.next == null)
|
||||
mix = 0;
|
||||
var animationLast = current.animationLast, animationTime = current.getAnimationTime();
|
||||
var timelineCount = current.animation.timelines.length;
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -1080,13 +1080,11 @@ var spine;
|
||||
continue;
|
||||
}
|
||||
}
|
||||
else {
|
||||
if (current.trackLast >= current.trackEnd && current.mixingFrom == null) {
|
||||
tracks[i] = null;
|
||||
this.queue.end(current);
|
||||
this.disposeNext(current);
|
||||
continue;
|
||||
}
|
||||
else if (current.trackLast >= current.trackEnd && current.mixingFrom == null) {
|
||||
tracks[i] = null;
|
||||
this.queue.end(current);
|
||||
this.disposeNext(current);
|
||||
continue;
|
||||
}
|
||||
this.updateMixingFrom(current, delta);
|
||||
current.trackTime += currentDelta;
|
||||
@ -1122,7 +1120,7 @@ var spine;
|
||||
var mix = current.alpha;
|
||||
if (current.mixingFrom != null)
|
||||
mix *= this.applyMixingFrom(current, skeleton);
|
||||
else if (current.trackTime >= current.trackEnd)
|
||||
else if (current.trackTime >= current.trackEnd && current.next == null)
|
||||
mix = 0;
|
||||
var animationLast = current.animationLast, animationTime = current.getAnimationTime();
|
||||
var timelineCount = current.animation.timelines.length;
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -1080,13 +1080,11 @@ var spine;
|
||||
continue;
|
||||
}
|
||||
}
|
||||
else {
|
||||
if (current.trackLast >= current.trackEnd && current.mixingFrom == null) {
|
||||
tracks[i] = null;
|
||||
this.queue.end(current);
|
||||
this.disposeNext(current);
|
||||
continue;
|
||||
}
|
||||
else if (current.trackLast >= current.trackEnd && current.mixingFrom == null) {
|
||||
tracks[i] = null;
|
||||
this.queue.end(current);
|
||||
this.disposeNext(current);
|
||||
continue;
|
||||
}
|
||||
this.updateMixingFrom(current, delta);
|
||||
current.trackTime += currentDelta;
|
||||
@ -1122,7 +1120,7 @@ var spine;
|
||||
var mix = current.alpha;
|
||||
if (current.mixingFrom != null)
|
||||
mix *= this.applyMixingFrom(current, skeleton);
|
||||
else if (current.trackTime >= current.trackEnd)
|
||||
else if (current.trackTime >= current.trackEnd && current.next == null)
|
||||
mix = 0;
|
||||
var animationLast = current.animationLast, animationTime = current.getAnimationTime();
|
||||
var timelineCount = current.animation.timelines.length;
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -1080,13 +1080,11 @@ var spine;
|
||||
continue;
|
||||
}
|
||||
}
|
||||
else {
|
||||
if (current.trackLast >= current.trackEnd && current.mixingFrom == null) {
|
||||
tracks[i] = null;
|
||||
this.queue.end(current);
|
||||
this.disposeNext(current);
|
||||
continue;
|
||||
}
|
||||
else if (current.trackLast >= current.trackEnd && current.mixingFrom == null) {
|
||||
tracks[i] = null;
|
||||
this.queue.end(current);
|
||||
this.disposeNext(current);
|
||||
continue;
|
||||
}
|
||||
this.updateMixingFrom(current, delta);
|
||||
current.trackTime += currentDelta;
|
||||
@ -1122,7 +1120,7 @@ var spine;
|
||||
var mix = current.alpha;
|
||||
if (current.mixingFrom != null)
|
||||
mix *= this.applyMixingFrom(current, skeleton);
|
||||
else if (current.trackTime >= current.trackEnd)
|
||||
else if (current.trackTime >= current.trackEnd && current.next == null)
|
||||
mix = 0;
|
||||
var animationLast = current.animationLast, animationTime = current.getAnimationTime();
|
||||
var timelineCount = current.animation.timelines.length;
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -1080,13 +1080,11 @@ var spine;
|
||||
continue;
|
||||
}
|
||||
}
|
||||
else {
|
||||
if (current.trackLast >= current.trackEnd && current.mixingFrom == null) {
|
||||
tracks[i] = null;
|
||||
this.queue.end(current);
|
||||
this.disposeNext(current);
|
||||
continue;
|
||||
}
|
||||
else if (current.trackLast >= current.trackEnd && current.mixingFrom == null) {
|
||||
tracks[i] = null;
|
||||
this.queue.end(current);
|
||||
this.disposeNext(current);
|
||||
continue;
|
||||
}
|
||||
this.updateMixingFrom(current, delta);
|
||||
current.trackTime += currentDelta;
|
||||
@ -1122,7 +1120,7 @@ var spine;
|
||||
var mix = current.alpha;
|
||||
if (current.mixingFrom != null)
|
||||
mix *= this.applyMixingFrom(current, skeleton);
|
||||
else if (current.trackTime >= current.trackEnd)
|
||||
else if (current.trackTime >= current.trackEnd && current.next == null)
|
||||
mix = 0;
|
||||
var animationLast = current.animationLast, animationTime = current.getAnimationTime();
|
||||
var timelineCount = current.animation.timelines.length;
|
||||
|
||||
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user