mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 01:36:02 +08:00
[ue4] Closes #2144, allow setting skeleton data of widget at runtime.
This commit is contained in:
parent
d8396435d3
commit
cfb688c726
@ -168,6 +168,9 @@ void USpineWidget::CheckState() {
|
||||
state->setRendererObject((void *) this);
|
||||
state->setListener(callbackWidget);
|
||||
trackEntries.Empty();
|
||||
skeleton->setToSetupPose();
|
||||
skeleton->updateWorldTransform();
|
||||
slateWidget->SetData(this);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user