/trunk
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() |
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) |