mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 01:36:02 +08:00
[c] Fixed deform timelines not mixing from/to setup pose. #920
This commit is contained in:
parent
2b5058f020
commit
63459d8531
@ -806,7 +806,7 @@ void _spDeformTimeline_apply (const spTimeline* timeline, spSkeleton* skeleton,
|
|||||||
slot->attachmentVerticesCapacity = vertexCount;
|
slot->attachmentVerticesCapacity = vertexCount;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (slot->attachmentVerticesCount != vertexCount) alpha = 1; /* Don't mix from uninitialized slot vertices. */
|
if (slot->attachmentVerticesCount != vertexCount && !setupPose) alpha = 1; /* Don't mix from uninitialized slot vertices. */
|
||||||
slot->attachmentVerticesCount = vertexCount;
|
slot->attachmentVerticesCount = vertexCount;
|
||||||
|
|
||||||
frameVertices = self->frameVertices;
|
frameVertices = self->frameVertices;
|
||||||
|
|||||||
3190
spine-ts/build/spine-all.d.ts
vendored
3190
spine-ts/build/spine-all.d.ts
vendored
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
2210
spine-ts/build/spine-canvas.d.ts
vendored
2210
spine-ts/build/spine-canvas.d.ts
vendored
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
2160
spine-ts/build/spine-core.d.ts
vendored
2160
spine-ts/build/spine-core.d.ts
vendored
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
2238
spine-ts/build/spine-threejs.d.ts
vendored
2238
spine-ts/build/spine-threejs.d.ts
vendored
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
2950
spine-ts/build/spine-webgl.d.ts
vendored
2950
spine-ts/build/spine-webgl.d.ts
vendored
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -603,7 +603,7 @@ var spine;
|
|||||||
}
|
}
|
||||||
var frameVertices = this.frameVertices;
|
var frameVertices = this.frameVertices;
|
||||||
var vertexCount = frameVertices[0].length;
|
var vertexCount = frameVertices[0].length;
|
||||||
if (verticesArray.length != vertexCount)
|
if (verticesArray.length != vertexCount && !setupPose)
|
||||||
alpha = 1;
|
alpha = 1;
|
||||||
var vertices = spine.Utils.setArraySize(verticesArray, vertexCount);
|
var vertices = spine.Utils.setArraySize(verticesArray, vertexCount);
|
||||||
if (time >= frames[frames.length - 1]) {
|
if (time >= frames[frames.length - 1]) {
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user