mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 01:36:02 +08:00
[cpp] Closes #2672, JSON inherit timeline parsing didn't advance key map properly.
This commit is contained in:
parent
fa0e27b555
commit
a2859f68e0
@ -1175,6 +1175,7 @@ Animation *SkeletonJson::readAnimation(Json *root, SkeletonData *skeletonData) {
|
|||||||
timeline->setFrame(frame, time, inherit);
|
timeline->setFrame(frame, time, inherit);
|
||||||
nextMap = keyMap->_next;
|
nextMap = keyMap->_next;
|
||||||
if (!nextMap) break;
|
if (!nextMap) break;
|
||||||
|
keyMap = nextMap;
|
||||||
}
|
}
|
||||||
timelines.add(timeline);
|
timelines.add(timeline);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user