mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-25 22:23:42 +08:00
[libgdx] Relax SkeletonJson to ignore unknown timeline types.
This commit is contained in:
parent
7be6dac44a
commit
02669cd33c
@ -881,8 +881,6 @@ public class SkeletonJson extends SkeletonLoader {
|
|||||||
}
|
}
|
||||||
timelines.add(timeline);
|
timelines.add(timeline);
|
||||||
}
|
}
|
||||||
default -> throw new RuntimeException(
|
|
||||||
"Invalid timeline type for a slot: " + timelineMap.name + " (" + slotMap.name + ")");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -916,8 +914,6 @@ public class SkeletonJson extends SkeletonLoader {
|
|||||||
}
|
}
|
||||||
timelines.add(timeline);
|
timelines.add(timeline);
|
||||||
}
|
}
|
||||||
default -> //
|
|
||||||
throw new RuntimeException("Invalid timeline type for a bone: " + timelineMap.name + " (" + boneMap.name + ")");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user