mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-04 22:34:53 +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 bone = skeleton.bones[rotateTimeline.boneIndex]
|
||||
if time < frames[0] then
|
||||
if setupPose then bone.rotation = bone.data.rotation end
|
||||
return
|
||||
end
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user