[lua] Remove logging.

This commit is contained in:
badlogic 2020-12-10 16:08:40 +01:00
parent 7ac47d191c
commit 9fef35bf7a
2 changed files with 0 additions and 3 deletions

View File

@ -114,7 +114,6 @@ function Skeleton:updateCache ()
local bones = self.bones local bones = self.bones
for _, bone in ipairs(bones) do for _, bone in ipairs(bones) do
print("reset " .. bone.data.name)
bone.sorted = bone.data.skinRequired bone.sorted = bone.data.skinRequired
bone.active = not bone.sorted bone.active = not bone.sorted
end end
@ -124,7 +123,6 @@ function Skeleton:updateCache ()
for i, boneData in ipairs(skinBones) do for i, boneData in ipairs(skinBones) do
local bone = bones[boneData.index] local bone = bones[boneData.index]
while bone do while bone do
print("skin bone reset " .. bone.data.name)
bone.sorted = false bone.sorted = false
bone.active = true bone.active = true
bone = bone.parent bone = bone.parent

View File

@ -193,7 +193,6 @@ function Skin:attachAll(skeleton, oldSkin)
if slotAttachment == skinAttachment then if slotAttachment == skinAttachment then
local attachment = self:getAttachment(i, key) local attachment = self:getAttachment(i, key)
if attachment then if attachment then
print("Set attachment " .. attachment.name .. " on slot " .. slot.data.name)
slot:setAttachment(attachment) slot:setAttachment(attachment)
end end
break break