Skip to content

Commit 7a79062

Browse files
committed
Update -x timeline and parser
1 parent 494672b commit 7a79062

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

extensions/cocostudio/loader/parsers/action-2.x.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,14 @@
6565
deferred: function(json, resourcePath, action, file){
6666
var animationlist = json["Content"]["Content"]["AnimationList"];
6767
var length = animationlist ? animationlist.length : 0;
68-
for (var i = 0; i < length; i++){
69-
var animationdata = animationlist[i];
70-
var info = { name: null, startIndex: null, endIndex: null };
71-
info.name = animationdata["Name"];
72-
info.startIndex = animationdata["StartIndex"];
73-
info.endIndex = animationdata["EndIndex"];
74-
action.addAnimationInfo(info);
75-
}
68+
for (var i = 0; i < length; i++){
69+
var animationdata = animationlist[i];
70+
var info = { name: null, startIndex: null, endIndex: null };
71+
info.name = animationdata["Name"];
72+
info.startIndex = animationdata["StartIndex"];
73+
info.endIndex = animationdata["EndIndex"];
74+
action.addAnimationInfo(info);
75+
}
7676
}
7777

7878
});

0 commit comments

Comments
 (0)