Browse Source

Clear mesh deform in setToSetupPose, untested.

NathanSweet 11 years ago
parent
commit
f14b2a5c53
1 changed files with 1 additions and 0 deletions
  1. 1 0
      spine-libgdx/src/com/esotericsoftware/spine/Slot.java

+ 1 - 0
spine-libgdx/src/com/esotericsoftware/spine/Slot.java

@@ -120,6 +120,7 @@ public class Slot {
 		color.set(data.color);
 		setAttachment(data.attachmentName == null ? null : skeleton.getAttachment(slotIndex, data.attachmentName));
 		// BOZO - Set mesh to setup pose.
+		attachmentVertices.clear();
 	}
 
 	public void setToSetupPose () {