mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 01:36:02 +08:00
[lua] Fix typo in AnimationState, closes #1978
This commit is contained in:
parent
c94cad7403
commit
f1a72be01b
@ -494,7 +494,7 @@ function AnimationState:applyMixingFrom (to, skeleton, blend)
|
|||||||
else -- HOLD_MIX
|
else -- HOLD_MIX
|
||||||
timelineBlend = MixBlend.setup
|
timelineBlend = MixBlend.setup
|
||||||
local holdMix = timelineHoldMix[i]
|
local holdMix = timelineHoldMix[i]
|
||||||
alpha = alphaHold * math_max(0, 1 - holdMix.mixtime / holdMix.mixDuration)
|
alpha = alphaHold * math_max(0, 1 - holdMix.mixTime / holdMix.mixDuration)
|
||||||
end
|
end
|
||||||
|
|
||||||
if not skipSubsequent then
|
if not skipSubsequent then
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user