|
@@ -51,7 +51,7 @@ void spVertexAttachment_computeWorldVertices (spVertexAttachment* self, spSlot*
|
|
float* vertices;
|
|
float* vertices;
|
|
int* bones;
|
|
int* bones;
|
|
|
|
|
|
- count += offset;
|
|
|
|
|
|
+ count = offset + (count >> 1) * stride;
|
|
skeleton = slot->bone->skeleton;
|
|
skeleton = slot->bone->skeleton;
|
|
deformLength = slot->attachmentVerticesCount;
|
|
deformLength = slot->attachmentVerticesCount;
|
|
deform = slot->attachmentVertices;
|
|
deform = slot->attachmentVertices;
|