mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-22 18:26:12 +08:00
[lua] Minor clean up.
This commit is contained in:
parent
44dd0cfa2b
commit
d8c5427ef2
@ -820,16 +820,16 @@ function AnimationState:setTimelineModes(entry)
|
||||
local skip
|
||||
while i <= timelinesCount do
|
||||
local id = "" .. timelines[i]:getPropertyId()
|
||||
if not (propertyIDs[id] == nil) then
|
||||
if propertyIDs[id] then
|
||||
timelineMode[i] = SUBSEQUENT
|
||||
else
|
||||
propertyIDs[id] = id
|
||||
if (to == nil or not self:hasTimeline(to, id)) then
|
||||
if to == nil or not self:hasTimeline(to, id) then
|
||||
timelineMode[i] = FIRST
|
||||
else
|
||||
local next = to.mixingTo
|
||||
skip = false
|
||||
while next do
|
||||
skip = false
|
||||
if not self:hasTimeline(id) then
|
||||
if entry.mixDuration > 0 then
|
||||
timelineMode[i] = HOLD_MIX
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user