Update plugins

This commit is contained in:
fgnm
2022-07-21 15:21:40 +02:00
parent 7b725f3339
commit 066516badf
5 changed files with 2 additions and 1 deletions
@@ -65,9 +65,10 @@ public class SpineDrawable extends BaseDrawable {
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();