[cpp] Closes #1435, AnimationState#computeNotLast() was wrong.

This commit is contained in:
badlogic 2019-08-09 14:53:06 +02:00
parent 336288cb2e
commit 5bbfa490bf

View File

@ -1071,6 +1071,7 @@ void AnimationState::computeNotLast(TrackEntry *entry) {
AttachmentTimeline *timeline = static_cast<AttachmentTimeline *>(timelines[i]);
if (!_propertyIDs.contains(timeline->getSlotIndex())) {
_propertyIDs.add(timeline->getSlotIndex());
} else {
timelineMode[i] |= NotLast;
}
}