mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 17:56:04 +08:00
[ue4] Partial fix for #1150.
This commit is contained in:
parent
2b9f215c9e
commit
a7debf8bcd
@ -39,7 +39,7 @@ void UTrackEntry::SetTrackEntry(TrackEntry* entry) {
|
|||||||
if (entry) entry->setRendererObject((void*)this);
|
if (entry) entry->setRendererObject((void*)this);
|
||||||
}
|
}
|
||||||
|
|
||||||
void callback(AnimationState* state, EventType type, TrackEntry* entry, Event* event) {
|
void callback(AnimationState* state, spine::EventType type, TrackEntry* entry, Event* event) {
|
||||||
USpineSkeletonAnimationComponent* component = (USpineSkeletonAnimationComponent*)state->getRendererObject();
|
USpineSkeletonAnimationComponent* component = (USpineSkeletonAnimationComponent*)state->getRendererObject();
|
||||||
|
|
||||||
if (entry->getRendererObject()) {
|
if (entry->getRendererObject()) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user