mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-01 21:29:07 +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
|
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
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user