mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 17:56:04 +08:00
[lua] Closes 1816, mix duration wasn't set correctly in AnimationState.
This commit is contained in:
parent
7bfcbe1b7a
commit
51a0641c6e
@ -863,7 +863,7 @@ function AnimationState:trackEntry (trackIndex, animation, loop, last)
|
|||||||
if not last then
|
if not last then
|
||||||
entry.mixDuration = 0
|
entry.mixDuration = 0
|
||||||
else
|
else
|
||||||
entry.mixDuration = data:getMix(last.animation, animation)
|
entry.mixDuration = data:getMix(last.animation.name, animation.name)
|
||||||
end
|
end
|
||||||
entry.mixBlend = MixBlend.replace
|
entry.mixBlend = MixBlend.replace
|
||||||
return entry
|
return entry
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user