|
@@ -334,7 +334,7 @@ public class SkeletonBinary {
|
|
|
if (!defaultSkin) {
|
|
|
Object[] bones = skin.bones.setSize(input.readInt(true));
|
|
|
for (int i = 0, n = skin.bones.size; i < n; i++)
|
|
|
- bones[i] = skin.bones.get(input.readInt(true));
|
|
|
+ bones[i] = skeletonData.bones.get(input.readInt(true));
|
|
|
|
|
|
for (int i = 0, n = input.readInt(true); i < n; i++)
|
|
|
skin.constraints.add(skeletonData.ikConstraints.get(input.readInt(true)));
|