mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-06 07:14:55 +08:00
[cpp] Fixed incorrect computeHold computations (occurring under rare conditions). Closes #1702.
This commit is contained in:
parent
a7e2c9d52a
commit
af8691c98e
@ -1031,9 +1031,9 @@ void AnimationState::computeHold(TrackEntry *entry) {
|
||||
} else {
|
||||
for (TrackEntry *next = to->_mixingTo; next != NULL; next = next->_mixingTo) {
|
||||
if (next->_animation->hasTimeline(id)) continue;
|
||||
if (entry->_mixDuration > 0) {
|
||||
if (next->_mixDuration > 0) {
|
||||
timelineMode[i] = HoldMix;
|
||||
timelineHoldMix[i] = entry;
|
||||
timelineHoldMix[i] = next;
|
||||
i++;
|
||||
goto continue_outer; // continue outer;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user