mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-25 22:23:42 +08:00
Merge branch '4.1' into 4.2-beta
This commit is contained in:
commit
4f3fcc5ed0
@ -1254,8 +1254,7 @@ Animation *SkeletonBinary::readAnimation(const String &name, DataInput *input, S
|
||||
int frameLast = frameCount - 1;
|
||||
|
||||
switch (timelineType) {
|
||||
case ATTACHMENT_DEFORM: {
|
||||
VertexAttachment *attachment = static_cast<VertexAttachment *>(baseAttachment);
|
||||
case ATTACHMENT_DEFORM: {
|
||||
bool weighted = attachment->_bones.size() > 0;
|
||||
Vector<float> &vertices = attachment->_vertices;
|
||||
int deformLength = weighted ? (int) vertices.size() / 3 * 2 : (int) vertices.size();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user