Skip to content

Fix issue with scenes exported in compatibility mode

Compare
Choose a tag to compare
@britzl britzl released this 27 Dec 11:46
· 381 commits to main since this release
1bafbda

When exporting from Spine 4.0 in Spine 3.8 compatibility mode, the version string is something like 3.8-from-4.0.47, which trips up the Integer.parseInt(scene.spineVersionParts[1]) calls because they try to parse 8-from-4 as a number.

Thanks to @dapetcu21 for the contribution!