fixing wrong timeline being pushed to array

This commit is contained in:
Paxton Hare 2013-05-30 05:00:13 -04:00
parent 7346b35a5c
commit bb30f8130e

View File

@ -221,7 +221,7 @@ public class SkeletonJson {
for each (var valueMap3:Object in values2) {
timeline3.setFrame(frameIndex3++, valueMap3["time"], valueMap3["name"]);
}
timelines.push(timeline);
timelines.push(timeline3);
duration = Math.max(duration, timeline3.frames[timeline3.frameCount - 1]);
} else