WoWInterface SVN Snoopy

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk
    from Rev 18 to Rev 19
    Reverse comparison

Rev 18 → Rev 19

Snoopy/core.lua
28,9 → 28,6
a.ADDON_LOADED = nil
InspectFrame:RegisterEvent("INSPECT_READY")
InspectFrame:SetScript("OnUpdate", nil)
if oGlow then
oGlow.preventInspect = true
end
 
function UpdateAllData() -- try to update all of the inspect window data
InspectPaperDollFrame_OnShow()
126,22 → 123,6
link = GetInventoryItemLink(InspectFrame.unit, id)
cache[id] = link
end
if oGlow then
if link then
local quality = select(3, GetItemInfo(link))
oGlow(self, quality)
if self.bc then
self.bc.Hide = nothing
if (type(quality) == "number" and quality > 1) or type(quality) == "string" then
self.bc:Show()
else
hide(self.bc)
end
end
elseif self.bc then
hide(self.bc)
end
end
end
 
InspectPaperDollItemSlotButton_OnEnter = function(self)