Skip to content

Commit

Permalink
Changed binary format to use index for IK constraint timelines.
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanSweet committed Oct 2, 2014
1 parent 851f0b5 commit 309889c
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -410,7 +410,7 @@ private void readAnimation (String name, DataInput input, SkeletonData skeletonD

// IK timelines.
for (int i = 0, n = input.readInt(true); i < n; i++) {
IkConstraintData ikConstraint = skeletonData.findIkConstraint(input.readString());
IkConstraintData ikConstraint = skeletonData.ikConstraints.get(input.readInt(true));
int frameCount = input.readInt(true);
IkConstraintTimeline timeline = new IkConstraintTimeline(frameCount);
timeline.ikConstraintIndex = skeletonData.getIkConstraints().indexOf(ikConstraint, true);
Expand Down

0 comments on commit 309889c

Please sign in to comment.