Initial support to Spine 4.1.0
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
+1
-1
@@ -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
|
||||
|
||||
Submodule h2d-libgdx-spine-extension updated: 06f05893b7...7cc20bffc5
Submodule h2d-libgdx-talos-extension updated: 1affe15785...7ede628cc8
Submodule h2d-libgdx-tinyvg-extension updated: 49eb123271...9f02da7bac
Submodule h2d-libgdx-typinglabel-extension updated: ed47573f24...9cb39802e1
+1
-1
Submodule hyperlap2d-common-api updated: 1ca5a5bf18...eb0368be79
Submodule hyperlap2d-runtime-libgdx updated: f11963a01a...60757d6703
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user