[libgdx] Relax SkeletonJson to ignore unknown timeline types.

This commit is contained in:
Nathan Sweet 2025-05-12 18:32:20 -04:00
parent 7be6dac44a
commit 02669cd33c

View File

@ -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 + ")");
} }
} }
} }