mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-11 09:38:44 +08:00
Attachment name in slot attachment timelines is now optional.
This commit is contained in:
parent
3cb04204f4
commit
eb5e19036d
@ -518,7 +518,7 @@ public class SkeletonJson extends SkeletonLoader {
|
||||
if (timelineName.equals("attachment")) {
|
||||
AttachmentTimeline timeline = new AttachmentTimeline(frames, slot.index);
|
||||
for (int frame = 0; keyMap != null; keyMap = keyMap.next, frame++)
|
||||
timeline.setFrame(frame, keyMap.getFloat("time", 0), keyMap.getString("name"));
|
||||
timeline.setFrame(frame, keyMap.getFloat("time", 0), keyMap.getString("name", null));
|
||||
timelines.add(timeline);
|
||||
|
||||
} else if (timelineName.equals("rgba")) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user