Explorar o código

setToBindPose for new slots.

NathanSweet %!s(int64=12) %!d(string=hai) anos
pai
achega
3bacf2a9e4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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