mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-04 22:34:53 +08:00
[ue4] Fix UE5 compilation errors. Closes #2071
This commit is contained in:
parent
324c0910eb
commit
0db28c0a46
@ -69,7 +69,12 @@ void SSpineWidget::SetData(USpineWidget *Widget) {
|
||||
skeleton->setToSetupPose();
|
||||
skeleton->updateWorldTransform();
|
||||
Vector<float> scratchBuffer;
|
||||
skeleton->getBounds(this->boundsMin.X, this->boundsMin.Y, this->boundsSize.X, this->boundsSize.Y, scratchBuffer);
|
||||
float x, y, w, h;
|
||||
skeleton->getBounds(x, y, w, h, scratchBuffer);
|
||||
boundsMin.X = x;
|
||||
boundsMin.Y = y;
|
||||
boundsSize.X = w;
|
||||
boundsSize.Y = h;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user