mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 01:36:02 +08:00
[libgdx] Fix SequenceTimeline JSON parsing
"stop" -> "hold"
This commit is contained in:
parent
80c702d526
commit
a12e3ffe37
@ -937,7 +937,7 @@ public class SkeletonJson extends SkeletonLoader {
|
||||
for (int frame = 0; keyMap != null; keyMap = keyMap.next, frame++) {
|
||||
float delay = keyMap.getFloat("delay", lastDelay);
|
||||
timeline.setFrame(frame, keyMap.getFloat("time", 0),
|
||||
SequenceMode.valueOf(keyMap.getString("mode", "stop")), keyMap.getInt("index", 0), delay);
|
||||
SequenceMode.valueOf(keyMap.getString("mode", "hold")), keyMap.getInt("index", 0), delay);
|
||||
lastDelay = delay;
|
||||
}
|
||||
timelines.add(timeline);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user