mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-06 07:14:55 +08:00
setToSetupPose for meshes.
This commit is contained in:
parent
e0ee76f8c3
commit
99cb5cae09
@ -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();
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user