mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-17 04:21:39 +08:00
[c] Vertex count is more complicated than thought, reverted last commit
This commit is contained in:
parent
8fbe0ccd07
commit
5784a46512
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user