Fix parsing Animation/slots in SkeletonJson.cs

This commit is contained in:
Randolph Burt 2013-04-11 20:56:00 +01:00
parent 71bffc5356
commit ea5849764d

View File

@ -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);