mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-09 16:48:43 +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);
|
||||
}
|
||||
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);
|
||||
}
|
||||
default -> //
|
||||
throw new RuntimeException("Invalid timeline type for a bone: " + timelineMap.name + " (" + boneMap.name + ")");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user