mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 01:36:02 +08:00
Fixed bug in lua AnimationStateData.
This commit is contained in:
parent
a28ddaf5d9
commit
8788d29a4e
@ -48,7 +48,7 @@ function AnimationStateData.new (skeletonData)
|
|||||||
local first = self.animationToMixTime[fromName]
|
local first = self.animationToMixTime[fromName]
|
||||||
if not first then return self.defaultMix end
|
if not first then return self.defaultMix end
|
||||||
local duration = first[toName]
|
local duration = first[toName]
|
||||||
if not duration then return defaultMix end
|
if not duration then return self.defaultMix end
|
||||||
return duration
|
return duration
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user