Sfoglia il codice sorgente

[lua] Remove logging.

badlogic 4 anni fa
parent
commit
9fef35bf7a
2 ha cambiato i file con 0 aggiunte e 3 eliminazioni
  1. 0 2
      spine-lua/Skeleton.lua
  2. 0 1
      spine-lua/Skin.lua

+ 0 - 2
spine-lua/Skeleton.lua

@@ -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

+ 0 - 1
spine-lua/Skin.lua

@@ -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