Skip to content

Commit

Permalink
Merge branch '3.6' into 3.7-beta
Browse files Browse the repository at this point in the history
  • Loading branch information
badlogic committed Nov 13, 2017
2 parents ac588a6 + adb11a2 commit 98261fa
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions spine-c/spine-c/src/spine/AnimationState.c
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,17 @@ void _spEventQueue_drain (_spEventQueue* self) {
self->drainDisabled = 0;
}

// These two functions are needed in the UE4 runtime, see #1037
void _spAnimationState_enableQueue(spAnimationState* self) {
_spAnimationState* internal = SUB_CAST(_spAnimationState, self);
internal->queue->drainDisabled = 0;
}

void _spAnimationState_disableQueue(spAnimationState* self) {
_spAnimationState* internal = SUB_CAST(_spAnimationState, self);
internal->queue->drainDisabled = 1;
}

void _spAnimationState_disposeTrackEntry (spTrackEntry* entry) {
spIntArray_dispose(entry->timelineData);
spTrackEntryArray_dispose(entry->timelineDipMix);
Expand Down

0 comments on commit 98261fa

Please sign in to comment.