From 99cb5cae09712e8d2ae0390260d6ffca96b21e0e Mon Sep 17 00:00:00 2001 From: NathanSweet Date: Wed, 23 Apr 2014 15:40:40 +0200 Subject: [PATCH] setToSetupPose for meshes. --- spine-libgdx/src/com/esotericsoftware/spine/Slot.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/spine-libgdx/src/com/esotericsoftware/spine/Slot.java b/spine-libgdx/src/com/esotericsoftware/spine/Slot.java index 9b5074073..e100e221d 100644 --- a/spine-libgdx/src/com/esotericsoftware/spine/Slot.java +++ b/spine-libgdx/src/com/esotericsoftware/spine/Slot.java @@ -102,7 +102,7 @@ public class Slot { if (this.attachment == attachment) return; this.attachment = attachment; attachmentTime = skeleton.time; - // attachmentVertices.clear(); // BOZO - Should this be here? + attachmentVertices.clear(); } public void setAttachmentTime (float time) { @@ -125,7 +125,6 @@ public class Slot { void setToSetupPose (int slotIndex) { color.set(data.color); setAttachment(data.attachmentName == null ? null : skeleton.getAttachment(slotIndex, data.attachmentName)); - // BOZO - Set mesh to setup pose. attachmentVertices.clear(); }