This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
6052x ...ace/AddOns/ShadowedUnitFrames/modules/indicators.lua:276: bad argument #1 to 'SetAlpha' (Usage: self:SetAlpha(alpha))[string "=[C]"]: in function `SetAlpha'[string "@Interface/AddOns/ShadowedUnitFrames/modules/indicators.lua"]:276: in function <...ace/AddOns/ShadowedUnitFrames/modules/indicators.lua:270>
Locals:(*temporary) = Texture { 0 = <userdata> status = "ready" enabled = true}(*temporary) = -0.00000
Seeing this error a lot, usually right on boss pulls in raids. I believe the issue is that the value of self.fadeList[frame] has a negative value. Which pops the SetAlpha call, so the function gets hit over an over on each Update event, and never closes the frame, so it just spams errors over and over. frame:SetAlpha(self.fadeList[frame] / FADEOUT_TIME)if( self.fadeList[frame] <= 0) then self.fadeList[frame] = nil frame:Hide() end
Should be
if( self.fadeList[frame] <= 0) then self.fadeList[frame] = nil frame:Hide() else frame:SetAlpha(self.fadeList[frame] / FADEOUT_TIME)end
To post a comment, please login or register a new account.