mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
[lua] Closes #751, didn't clear self->events in AnimationState:queueEvents
This commit is contained in:
parent
340cc6a85b
commit
35d25096d0
@ -393,6 +393,7 @@ function AnimationState:applyRotateTimeline (timeline, skeleton, time, alpha, se
|
|||||||
local frames = rotateTimeline.frames
|
local frames = rotateTimeline.frames
|
||||||
local bone = skeleton.bones[rotateTimeline.boneIndex]
|
local bone = skeleton.bones[rotateTimeline.boneIndex]
|
||||||
if time < frames[0] then
|
if time < frames[0] then
|
||||||
|
if setupPose then bone.rotation = bone.data.rotation end
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user