mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-06 15:24:55 +08:00
[ue4] Forgot to commit new queue control functions. Closes #1038
This commit is contained in:
parent
33a00182ff
commit
fe26844e3e
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user