mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 01:36:02 +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
|
||||
entry.mixDuration = 0
|
||||
else
|
||||
entry.mixDuration = data:getMix(last.animation, animation)
|
||||
entry.mixDuration = data:getMix(last.animation.name, animation.name)
|
||||
end
|
||||
entry.mixBlend = MixBlend.replace
|
||||
return entry
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user