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

This commit is contained in:
badlogic 2019-05-15 17:04:28 +02:00
parent e8eb894304
commit 4d2e813967

View File

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