mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-20 17:26:01 +08:00
[cpp] Fix loading of mesh attachments
This commit is contained in:
parent
cd1a55b0af
commit
1cba329685
@ -577,6 +577,7 @@ Attachment *SkeletonBinary::readAttachment(DataInput *input, Skin *skin, int slo
|
||||
}
|
||||
mesh->_path = path;
|
||||
mesh->_color.set(color);
|
||||
mesh->_bones.addAll(bones);
|
||||
mesh->_vertices.addAll(vertices);
|
||||
mesh->setWorldVerticesLength(vertexCount << 1);
|
||||
mesh->_triangles.addAll(triangles);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user