[c] Scale Problem after 4.2 Upgrade
Closed this issue · 4 comments
Hi I stared upgrading ALPACA to Spine 4.2. Most things are working but the speech bubbles (A 9 Patch made via Spine) looks wrong after the update.
The Spine file can be found here:
https://github.com/pinguin999/ALPACA/tree/main/data-src/speechbubble
Images: In Spine and in game 4.1 and 4.2 and the export diff
Code Diff: pinguin999/ALPACA@main...spine4_2
Runtime information
c-runtime 4.2
@pinguin999 I've taken the speechbubble.spine project from your repo. Exported it with Spine Editor 4.2.08. Here are my exports:
I then loaded those with spine-sfml, which is based on spine-c. They display correctly, both .json and .skel.
Your code changes look correct. Since you include the spine-runtimes
repo as a submodule, I'd also guess that you've fully updated to the latest spine-c sources.
I'm afraid since I can't reproduce the issue with spine-c, I can't really help fix this. Could you maybe provide a minimal repro project?
@badlogic Hi thanks for your feedback.
To reproduce the problem you have to scale the middlemiddle bone.
https://github.com/pinguin999/ALPACA/blob/main/src/dialog/speech_bubble.cpp#L16
Hope that helps to reproduce it.
Thank you! I was able to reproduce the issue and just pushed a fix to the 4.2 branch.
I can confirm it's fixed!