Mercurial > wow > buffalo2
diff BuffFrame/RaidBuffTray.lua @ 59:07ef62fe201f
Re-write of BuffFrame module:
- uses secure hooks on blizzard BuffFrame.lua functions to determine needed action
- make use of built-in table behavior to reduce unnecessary frame updates
author | Nenue |
---|---|
date | Thu, 28 Jul 2016 18:27:56 -0400 |
parents | 5cedcb683eda |
children |
line wrap: on
line diff
--- a/BuffFrame/RaidBuffTray.lua Fri Jul 08 18:01:49 2016 -0400 +++ b/BuffFrame/RaidBuffTray.lua Thu Jul 28 18:27:56 2016 -0400 @@ -41,7 +41,7 @@ local styleset = Aura.BuffStyles[style] if not path or path == '' then print('path is nil/empty') - icon:SetTexture(1, 1, 1, 1) + icon:SetColorTexture(1, 1, 1, 1) icon:SetVertexColor(unpack(styleset.Color)) else icon:SetTexture(path or icon:GetTexture()) @@ -203,6 +203,8 @@ local missingTypes = {} local raidBuffsInitialized Aura.UpdateRaidBuffs = function() + --[[ + local c = Aura.displays.ConsolidatedBuff.conf local anchor = _G[c.Parent..'Anchor'] @@ -327,6 +329,8 @@ missingBuffs[i]:Hide() end end + + ]] end vn.UpdateMissingBuffs = function()