mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-20 17:26:01 +08:00
Clean up.
Setting Attachment clears vertices count.
This commit is contained in:
parent
386134febe
commit
f1468c44e3
@ -36,8 +36,8 @@ namespace Spine {
|
||||
internal Bone bone;
|
||||
internal Skeleton skeleton;
|
||||
internal float r, g, b, a;
|
||||
internal float attachmentTime;
|
||||
internal Attachment attachment;
|
||||
internal float attachmentTime;
|
||||
internal float[] attachmentVertices = new float[0];
|
||||
internal int attachmentVerticesCount;
|
||||
|
||||
@ -89,7 +89,6 @@ namespace Spine {
|
||||
b = data.b;
|
||||
a = data.a;
|
||||
Attachment = data.attachmentName == null ? null : skeleton.GetAttachment(slotIndex, data.attachmentName);
|
||||
attachmentVerticesCount = 0;
|
||||
}
|
||||
|
||||
public void SetToSetupPose () {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user