mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-06 15:24:55 +08:00
[c] Closes #666 (number of the beast), vertex count for non-weighted meshes was incorrect
This commit is contained in:
parent
000a06ee09
commit
8fbe0ccd07
@ -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;
|
||||
attachment->verticesCount = verticesLength >> 1;
|
||||
attachment->vertices = vertices;
|
||||
|
||||
attachment->bonesCount = 0;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user