diff --git a/CHANGES b/CHANGES index 4f25e22f..9f9e77bd 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,6 @@ +[0.1.2] +- [BREAK CHANGE] Update Spine support to `4.1.0` + [0.1.1] - Allow Box2D bodies inside composite items. Must uncheck composite's automatic resize. diff --git a/gradle.properties b/gradle.properties index 531a02e7..4c76f0d0 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,7 +1,7 @@ gdxVersion = 1.11.0 lwjgl3Version = 3.3.1 artemisVersion = 2.3.0 -spineVersion = 4.0.18.1 +spineVersion = 4.1.0 visuiVersion = 1.5.0 typingLabelVersion = 1.3.0 shapedrawerVersion = 2.5.0 diff --git a/h2d-libgdx-spine-extension b/h2d-libgdx-spine-extension index 06f05893..7cc20bff 160000 --- a/h2d-libgdx-spine-extension +++ b/h2d-libgdx-spine-extension @@ -1 +1 @@ -Subproject commit 06f05893b7942b9f9fc66815c10e69da572a3f91 +Subproject commit 7cc20bffc57f70f4e48d6f6c0fca0ab78dd655ef diff --git a/h2d-libgdx-talos-extension b/h2d-libgdx-talos-extension index 1affe157..7ede628c 160000 --- a/h2d-libgdx-talos-extension +++ b/h2d-libgdx-talos-extension @@ -1 +1 @@ -Subproject commit 1affe157858bdfe6e65a54b3c44f6efe753713b0 +Subproject commit 7ede628cc8d74c3fdc8fff594a4a6b4ccc335c2b diff --git a/h2d-libgdx-tinyvg-extension b/h2d-libgdx-tinyvg-extension index 49eb1232..9f02da7b 160000 --- a/h2d-libgdx-tinyvg-extension +++ b/h2d-libgdx-tinyvg-extension @@ -1 +1 @@ -Subproject commit 49eb123271709ef61b1c0a5d966572a1bb185dc4 +Subproject commit 9f02da7bac0521bcd7a0b96cebeb9fc20a6e5ffb diff --git a/h2d-libgdx-typinglabel-extension b/h2d-libgdx-typinglabel-extension index ed47573f..9cb39802 160000 --- a/h2d-libgdx-typinglabel-extension +++ b/h2d-libgdx-typinglabel-extension @@ -1 +1 @@ -Subproject commit ed47573f24c0ffec1c95782a6b5ba4099638d3b1 +Subproject commit 9cb39802e1412c1c1fc1ade80722184f4246654e diff --git a/hyperlap2d-common-api b/hyperlap2d-common-api index 1ca5a5bf..eb0368be 160000 --- a/hyperlap2d-common-api +++ b/hyperlap2d-common-api @@ -1 +1 @@ -Subproject commit 1ca5a5bf18567ac0fb73df1fc02c66ae59bd4249 +Subproject commit eb0368be79be8fdbd13bf7d9577e1b15bd2f22c1 diff --git a/hyperlap2d-runtime-libgdx b/hyperlap2d-runtime-libgdx index f11963a0..60757d67 160000 --- a/hyperlap2d-runtime-libgdx +++ b/hyperlap2d-runtime-libgdx @@ -1 +1 @@ -Subproject commit f11963a01a1435d9fb414cdb7efd27c7066cba7e +Subproject commit 60757d6703e9e474bff1925726c5c7ee96e33853 diff --git a/src/main/java/games/rednblack/editor/view/ui/widget/actors/SpineActor.java b/src/main/java/games/rednblack/editor/view/ui/widget/actors/SpineActor.java index 306779a5..22cf8cba 100644 --- a/src/main/java/games/rednblack/editor/view/ui/widget/actors/SpineActor.java +++ b/src/main/java/games/rednblack/editor/view/ui/widget/actors/SpineActor.java @@ -51,9 +51,10 @@ public class SpineActor extends Actor { float[] vertices = null; Attachment attachment = slot.getAttachment(); if (attachment instanceof RegionAttachment) { + RegionAttachment region = (RegionAttachment)attachment; verticesLength = 8; vertices = temp.setSize(8); - ((RegionAttachment)attachment).computeWorldVertices(slot.getBone(), vertices, 0, 2); + region.computeWorldVertices(slot, vertices, 0, 2); } else if (attachment instanceof MeshAttachment) { MeshAttachment mesh = (MeshAttachment)attachment; verticesLength = mesh.getWorldVerticesLength();