mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-10 09:08:42 +08:00
[lua] Remove logging.
This commit is contained in:
parent
7ac47d191c
commit
9fef35bf7a
@ -114,7 +114,6 @@ function Skeleton:updateCache ()
|
||||
|
||||
local bones = self.bones
|
||||
for _, bone in ipairs(bones) do
|
||||
print("reset " .. bone.data.name)
|
||||
bone.sorted = bone.data.skinRequired
|
||||
bone.active = not bone.sorted
|
||||
end
|
||||
@ -124,7 +123,6 @@ function Skeleton:updateCache ()
|
||||
for i, boneData in ipairs(skinBones) do
|
||||
local bone = bones[boneData.index]
|
||||
while bone do
|
||||
print("skin bone reset " .. bone.data.name)
|
||||
bone.sorted = false
|
||||
bone.active = true
|
||||
bone = bone.parent
|
||||
|
||||
@ -193,7 +193,6 @@ function Skin:attachAll(skeleton, oldSkin)
|
||||
if slotAttachment == skinAttachment then
|
||||
local attachment = self:getAttachment(i, key)
|
||||
if attachment then
|
||||
print("Set attachment " .. attachment.name .. " on slot " .. slot.data.name)
|
||||
slot:setAttachment(attachment)
|
||||
end
|
||||
break
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user