@@ -814,7 +814,7 @@ public class Animation {
}
public int getPropertyId () {
- return (TimelineType.deform.ordinal() << 27) + ((slotIndex & 2047) << 16) + attachment.getId();
+ return (TimelineType.deform.ordinal() << 27) + attachment.getId() + slotIndex;
public void setSlotIndex (int index) {
@@ -40,7 +40,7 @@ import com.esotericsoftware.spine.Slot;
public class VertexAttachment extends Attachment {
static private int nextID;
- private int id = nextID++ & 65535;
+ private int id = (nextID++ & 65535) << 11;
int[] bones;
float[] vertices;
int worldVerticesLength;