Browse Source

[lua] IkConstraintTimeline.STRETCH was incorrect, resulting in ik timeline mixes not being properly set. Closes #1353.

badlogic 6 years ago
parent
commit
f365708526
1 changed files with 1 additions and 1 deletions
  1. 1 1
      spine-lua/Animation.lua

+ 1 - 1
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, ...