mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-07 07:44:53 +08:00
Merge pull request #29 from RandolphBurt/FixAnimationSlotsInJsonReader
Fix parsing Animation/slots in SkeletonJson.cs
This commit is contained in:
commit
85adbbec2e
@ -228,7 +228,7 @@ namespace Spine {
|
||||
Dictionary<String, Object> timelineMap = (Dictionary<String, Object>)entry.Value;
|
||||
|
||||
foreach (KeyValuePair<String, Object> timelineEntry in timelineMap) {
|
||||
List<Dictionary<String, Object>> values = (List<Dictionary<String, Object>>)timelineEntry.Value;
|
||||
List<Object> values = (List<Object>)timelineEntry.Value;
|
||||
String timelineName = (String)timelineEntry.Key;
|
||||
if (timelineName.Equals(TIMELINE_COLOR)) {
|
||||
ColorTimeline timeline = new ColorTimeline(values.Count);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user