mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 09:46:02 +08:00
[lua] Ported AnimationState change
This commit is contained in:
parent
14c1df8cfb
commit
c7ca217d52
@ -304,7 +304,7 @@ function AnimationState:apply (skeleton)
|
|||||||
local mix = current.alpha
|
local mix = current.alpha
|
||||||
if current.mixingFrom then
|
if current.mixingFrom then
|
||||||
mix = mix * self:applyMixingFrom(current, skeleton)
|
mix = mix * self:applyMixingFrom(current, skeleton)
|
||||||
elseif current.trackTime >= current.trackEnd then
|
elseif current.trackTime >= current.trackEnd and current.next == nil then
|
||||||
mix = 0
|
mix = 0
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user