faster timeline construction

This commit is contained in:
2014-11-04 21:14:58 +01:00
parent 588f69ac1e
commit ce711ae9a8
2 changed files with 13 additions and 7 deletions
@@ -161,7 +161,8 @@ public class TagTreeModel implements TreeModel {
}
Timeline timeline = swf.getTimeline();
for (int i = 0; i < timeline.getFrameCount(); i++) {
int frameCount = timeline.getFrameCount();
for (int i = 0; i < frameCount; i++) {
frames.add(timeline.getFrames().get(i));
}