View Single Post
10-04-20, 09:04 AM   #4
cokedrivers
A Rage Talon Dragon Guard
 
cokedrivers's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2009
Posts: 325
Originally Posted by SDPhantom View Post
When it comes to the buff frames spreading taint, that's likely through the UIParent's Frame Position Manager. It's secure code in charge of shuffling frames around based on what's shown, including ActionBars too. However, I don't think that's the angle this taint error is coming from.

My suspicion is pointing at the replacement of Target_Spellbar_AdjustPosition(). I don't see anywhere in the execution path to suggest it, but in my experience, the taint system itself is horribly bugged and that's the only line I see that would even generate taint.
Did some investigating and found this in the TargetFrame.lua..
Lua Code:
  1. function Target_Spellbar_AdjustPosition(self)
  2.     local parentFrame = self:GetParent();
  3.     if ( self.boss ) then
  4.         self:SetPoint("TOPLEFT", parentFrame, "BOTTOMLEFT", 25, 10 );
  5.     elseif ( parentFrame.haveToT ) then
  6.         if ( parentFrame.buffsOnTop or parentFrame.auraRows <= 1 ) then
  7.             self:SetPoint("TOPLEFT", parentFrame, "BOTTOMLEFT", 25, -21 );
  8.         else
  9.             self:SetPoint("TOPLEFT", parentFrame.spellbarAnchor, "BOTTOMLEFT", 20, -15);
  10.         end
  11.     elseif ( parentFrame.haveElite ) then
  12.         if ( parentFrame.buffsOnTop or parentFrame.auraRows <= 1 ) then
  13.             self:SetPoint("TOPLEFT", parentFrame, "BOTTOMLEFT", 25, -5 );
  14.         else
  15.             self:SetPoint("TOPLEFT", parentFrame.spellbarAnchor, "BOTTOMLEFT", 20, -15);
  16.         end
  17.     else
  18.         if ( (not parentFrame.buffsOnTop) and parentFrame.auraRows > 0 ) then
  19.             self:SetPoint("TOPLEFT", parentFrame.spellbarAnchor, "BOTTOMLEFT", 20, -15);
  20.         else
  21.             self:SetPoint("TOPLEFT", parentFrame, "BOTTOMLEFT", 25, 7 );
  22.         end
  23.     end
  24. end

I noticed this Target_Spellbar_AdjustPosition(self) and mine was Target_Spellbar_AdjustPosition() so i added the self and now I'm going to see if this stops the taint.

Thanks for the suggestion.

EDIT: No go still got the taint so i guess its something ill have to just ignore.

Last edited by cokedrivers : 10-04-20 at 09:29 AM.
  Reply With Quote