mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-04 14:24:53 +08:00
[lua] IkConstraintTimeline.STRETCH was incorrect, resulting in ik timeline mixes not being properly set. Closes #1353.
This commit is contained in:
parent
e8eb894304
commit
4d2e813967
@ -1179,7 +1179,7 @@ function Animation.IkConstraintTimeline.new (frameCount)
|
|||||||
local MIX = 1
|
local MIX = 1
|
||||||
local BEND_DIRECTION = 2
|
local BEND_DIRECTION = 2
|
||||||
local COMPRESS = 3
|
local COMPRESS = 3
|
||||||
local STRETCH = 1
|
local STRETCH = 4
|
||||||
|
|
||||||
local self = Animation.CurveTimeline.new(frameCount)
|
local self = Animation.CurveTimeline.new(frameCount)
|
||||||
self.frames = utils.newNumberArrayZero(frameCount * ENTRIES) -- time, mix, bendDirection, compress, stretch, ...
|
self.frames = utils.newNumberArrayZero(frameCount * ENTRIES) -- time, mix, bendDirection, compress, stretch, ...
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user