mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-22 18:26:12 +08:00
[as3][starling] Fix JSON parsing error when parsing path timelines. Closes #1625.
This commit is contained in:
parent
9f72e6c543
commit
e066356da0
Binary file not shown.
@ -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);
|
||||||
|
|||||||
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user