mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-20 17:26:01 +08:00
Clean up.
This commit is contained in:
parent
1f4b6b1508
commit
66b7581516
@ -990,8 +990,7 @@ spine.FfdTimeline.prototype = {
|
||||
|
||||
var vertices = slot.attachmentVertices;
|
||||
if (vertices.length != vertexCount) {
|
||||
vertices = slot.attachmentVertices = new spine.Float32Array(vertexCount);
|
||||
vertices.length = vertexCount;
|
||||
slot.attachmentVertices = vertices = new spine.Float32Array(vertexCount);
|
||||
alpha = 1;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user