Przeglądaj źródła

Clear mesh deform in setToSetupPose, untested.

NathanSweet 11 lat temu
rodzic
commit
f14b2a5c53

+ 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 () {