[as3][starling] Fix JSON parsing error when parsing path timelines. Closes #1625.

This commit is contained in:
badlogic 2020-04-13 10:29:25 +02:00
parent 9f72e6c543
commit e066356da0
3 changed files with 1 additions and 1 deletions

View File

@ -621,7 +621,7 @@ package spine {
} }
// Path constraint timelines. // Path constraint timelines.
var paths : Object = map["paths"]; var paths : Object = map["path"];
for (var pathName : String in paths) { for (var pathName : String in paths) {
var index : int = skeletonData.findPathConstraintIndex(pathName); var index : int = skeletonData.findPathConstraintIndex(pathName);
if (index == -1) throw new Error("Path constraint not found: " + pathName); if (index == -1) throw new Error("Path constraint not found: " + pathName);