Skip to content

Commit

Permalink
[ue4] Fix UE5 compilation errors. Closes #2071
Browse files Browse the repository at this point in the history
  • Loading branch information
badlogic committed Apr 21, 2022
1 parent 324c091 commit 0db28c0
Showing 1 changed file with 6 additions and 1 deletion.
Expand Up @@ -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;
}
}

Expand Down

0 comments on commit 0db28c0

Please sign in to comment.