mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 01:36:02 +08:00
[c] Closes #2157, missing break in deform timeline apply.
This commit is contained in:
parent
aeacf6e502
commit
ef7eb1cb07
@ -1870,6 +1870,7 @@ void _spDeformTimeline_apply(
|
|||||||
/* Vertex positions or deform offsets, with alpha. */
|
/* Vertex positions or deform offsets, with alpha. */
|
||||||
for (i = 0; i < vertexCount; i++)
|
for (i = 0; i < vertexCount; i++)
|
||||||
deformArray[i] += (lastVertices[i] - deformArray[i]) * alpha;
|
deformArray[i] += (lastVertices[i] - deformArray[i]) * alpha;
|
||||||
|
break;
|
||||||
case SP_MIX_BLEND_ADD:
|
case SP_MIX_BLEND_ADD:
|
||||||
vertexAttachment = SUB_CAST(spVertexAttachment, slot->attachment);
|
vertexAttachment = SUB_CAST(spVertexAttachment, slot->attachment);
|
||||||
if (!vertexAttachment->bones) {
|
if (!vertexAttachment->bones) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user