[c] Vertex count is more complicated than thought, reverted last commit

This commit is contained in:
badlogic 2016-08-10 11:09:29 +02:00
parent 8fbe0ccd07
commit 5784a46512

View File

@ -511,7 +511,7 @@ static void _readVertices(spSkeletonJson* self, Json* attachmentMap, spVertexAtt
if (self->scale != 1)
for (i = 0; i < entrySize; ++i)
vertices[i] *= self->scale;
attachment->verticesCount = verticesLength >> 1;
attachment->verticesCount = verticesLength;
attachment->vertices = vertices;
attachment->bonesCount = 0;