From f3d1467972b1abf7b41fad7095e0533658427f9c Mon Sep 17 00:00:00 2001 From: Matias Date: Wed, 29 May 2013 12:24:36 +0300 Subject: [PATCH] comment out the warning --- spine-corona/spine-corona/spine.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spine-corona/spine-corona/spine.lua b/spine-corona/spine-corona/spine.lua index 426d60ef1..754112e0d 100644 --- a/spine-corona/spine-corona/spine.lua +++ b/spine-corona/spine-corona/spine.lua @@ -119,7 +119,7 @@ function spine.Skeleton.new (skeletonData, group) image.xScale = slot.bone.worldScaleY * attachment.scaleX image.yScale = slot.bone.worldScaleX * attachment.scaleY else - if (rot ~= 0) then print("WARNING: Scaling bones with attachments not rotated to the cardinal angles will not work as expected in Corona!") end + --if (rot ~= 0 and (slot.bone.worldScaleX ~= 1 or slot.bone.worldScaleY ~= 1)) then print("WARNING: Scaling bones with attachments not rotated to the cardinal angles will not work as expected in Corona!") end image.xScale = slot.bone.worldScaleX * attachment.scaleX image.yScale = slot.bone.worldScaleY * attachment.scaleY end