[lua] Closes #751, didn't clear self->events in AnimationState:queueEvents

This commit is contained in:
badlogic 2016-11-04 14:43:49 +01:00
parent 340cc6a85b
commit 35d25096d0

View File

@ -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