From f36570852614733d1176ff61d7627b98166510ab Mon Sep 17 00:00:00 2001 From: badlogic Date: Wed, 15 May 2019 17:03:27 +0200 Subject: [PATCH] [lua] IkConstraintTimeline.STRETCH was incorrect, resulting in ik timeline mixes not being properly set. Closes #1353. --- spine-lua/Animation.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spine-lua/Animation.lua b/spine-lua/Animation.lua index 1eff5a117..e969d5be1 100644 --- a/spine-lua/Animation.lua +++ b/spine-lua/Animation.lua @@ -1179,7 +1179,7 @@ function Animation.IkConstraintTimeline.new (frameCount) local MIX = 1 local BEND_DIRECTION = 2 local COMPRESS = 3 - local STRETCH = 1 + local STRETCH = 4 local self = Animation.CurveTimeline.new(frameCount) self.frames = utils.newNumberArrayZero(frameCount * ENTRIES) -- time, mix, bendDirection, compress, stretch, ...