mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-06 07:14:55 +08:00
[c] Closes #1148, count in vertex attachment computation was wrong when stride was <> 2.
This commit is contained in:
parent
71c0887dab
commit
e897dcafa5
@ -51,7 +51,7 @@ void spVertexAttachment_computeWorldVertices (spVertexAttachment* self, spSlot*
|
||||
float* vertices;
|
||||
int* bones;
|
||||
|
||||
count += offset;
|
||||
count = offset + (count >> 1) * stride;
|
||||
skeleton = slot->bone->skeleton;
|
||||
deformLength = slot->attachmentVerticesCount;
|
||||
deform = slot->attachmentVertices;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user