Browse Source

setToBindPose for new slots.

NathanSweet 12 năm trước cách đây
mục cha
commit
3bacf2a9e4
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      spine-corona/spine/Slot.lua

+ 1 - 1
spine-corona/spine/Slot.lua

@@ -47,7 +47,7 @@ function Slot.new (slotData, skeleton, bone)
 		self:setAttachment(attachment)
 	end
 
-	self:setColor(255, 255, 255, 255)
+	self:setToBindPose()
 
 	return self
 end