Quantcast WoWInterface - View Single Post - Extract model properties
View Single Post
09-25-10, 04:29 AM   #17
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: Nov 2008
Posts: 12
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.


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):
   local function rIMV_setModel(self,id)
    self:Show()  --sinus

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

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

    self.id = id

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