|
@@ -45,8 +45,7 @@ function Slot.new (data, bone)
|
|
|
color = Color.newWith(1, 1, 1, 1),
|
|
|
attachment = nil,
|
|
|
attachmentTime = 0,
|
|
|
- attachmentVertices = {},
|
|
|
- attachmentVerticesCount = 0
|
|
|
+ attachmentVertices = {}
|
|
|
}
|
|
|
setmetatable(self, Slot)
|
|
|
|
|
@@ -59,7 +58,7 @@ function Slot:setAttachment (attachment)
|
|
|
if self.attachment == attachment then return end
|
|
|
self.attachment = attachment
|
|
|
self.attachmentTime = self.bone.skeleton.time
|
|
|
- self.attachmentVerticesCount = 0
|
|
|
+ self.attachmentVertices = {}
|
|
|
end
|
|
|
|
|
|
function Slot:setAttachmentTime (time)
|