mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-22 02:06:03 +08:00
[as3] Ported fix for #1119
This commit is contained in:
parent
2726229071
commit
0f219a2eb0
Binary file not shown.
@ -129,6 +129,9 @@ package spine.animation {
|
|||||||
if (from == null) return true;
|
if (from == null) return true;
|
||||||
|
|
||||||
var finished : Boolean = updateMixingFrom(from, delta);
|
var finished : Boolean = updateMixingFrom(from, delta);
|
||||||
|
|
||||||
|
from.animationLast = from.nextAnimationLast;
|
||||||
|
from.trackLast = from.nextTrackLast;
|
||||||
|
|
||||||
// Require mixTime > 0 to ensure the mixing from entry was applied at least once.
|
// Require mixTime > 0 to ensure the mixing from entry was applied at least once.
|
||||||
if (to.mixTime > 0 && (to.mixTime >= to.mixDuration || to.timeScale == 0)) {
|
if (to.mixTime > 0 && (to.mixTime >= to.mixDuration || to.timeScale == 0)) {
|
||||||
@ -140,9 +143,7 @@ package spine.animation {
|
|||||||
}
|
}
|
||||||
return finished;
|
return finished;
|
||||||
}
|
}
|
||||||
|
|
||||||
from.animationLast = from.nextAnimationLast;
|
|
||||||
from.trackLast = from.nextTrackLast;
|
|
||||||
from.trackTime += delta * from.timeScale;
|
from.trackTime += delta * from.timeScale;
|
||||||
to.mixTime += delta * to.timeScale;
|
to.mixTime += delta * to.timeScale;
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user