mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 01:36:02 +08:00
Fix infinite loop when reading json inherit timeline. (#2901)
This commit is contained in:
parent
cd726af62b
commit
8ddb2d8d0c
@ -549,6 +549,7 @@ static spAnimation *_spSkeletonJson_readAnimation(spSkeletonJson *self, Json *ro
|
||||
spInheritTimeline_setFrame(timeline, frame, time, inherit);
|
||||
nextMap = keyMap->next;
|
||||
if (!nextMap) break;
|
||||
keyMap = nextMap;
|
||||
}
|
||||
spTimelineArray_add(timelines, SUPER(timeline));
|
||||
} else {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user