Clean up.

This commit is contained in:
NathanSweet 2016-06-06 14:13:53 +02:00
parent 1f4b6b1508
commit 66b7581516

View File

@ -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;
}