mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 01:36:02 +08:00
[lua] Fixed deform timelines not mixing from/to setup pose. #920
This commit is contained in:
parent
57eab37e11
commit
fcf9d3bb35
@ -769,7 +769,7 @@ function Animation.DeformTimeline.new (frameCount)
|
||||
local frameVertices = self.frameVertices
|
||||
local vertexCount = #(frameVertices[0])
|
||||
|
||||
if (#verticesArray ~= vertexCount) then alpha = 1 end -- Don't mix from uninitialized slot vertices.
|
||||
if (#verticesArray ~= vertexCount and not setupPose) then alpha = 1 end -- Don't mix from uninitialized slot vertices.
|
||||
local vertices = utils.setArraySize(verticesArray, vertexCount)
|
||||
|
||||
if time >= frames[zlen(frames) - 1] then -- Time is after last frame.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user