View Single Post
09-25-10, 04:29 AM   #17
SinusPi
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: Nov 2008
Posts: 13
Yup, done.

Here's the tag database - it's pretty freakin' huge, and perhaps could be compacted somehow, but I don't think it's worth the effort - the viewer is only a development/exploration tool and wouldn't be expected to operate at minimum resource requirements, I guess.

http://www.mediafire.com/file/j8dsa863xnz5pjk/tags.zip

Also, I did some cosmetic modifications to your addon, use these if you wish - the first hides models that are missing (though some models show up as blank but are there if you zoom in or out):
Code:
   local function rIMV_setModel(self,id)
  
    self:Show()  --sinus

    self:ClearModel()
    --m:SetModel("Interface\\Buttons\\talktomequestionmark.mdx") --in case setdisplayinfo fails 
    self:SetDisplayInfo(id)

    if self:GetModel()==self then self:Hide() end  -- sinus: hide missing models

    self.id = id
    self.p:SetText(id)

  end
Also, just for some extra info, I added
Code:
    GameTooltip:AddDoubleLine("GetModel", self:GetModel(), 1, 1, 1, 1, 1, 1)
in the tooltip routine. Kinda useful.
  Reply With Quote