mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-20 17:26:01 +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]
|
||||
if not first then return self.defaultMix end
|
||||
local duration = first[toName]
|
||||
if not duration then return defaultMix end
|
||||
if not duration then return self.defaultMix end
|
||||
return duration
|
||||
end
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user