Model Frame does not show again after hiding - WoWInterface
Thread Tools Display Modes
Prev Previous Post   Next Post Next
08-02-18, 11:30 AM   #1
A Defias Bandit
Join Date: Aug 2018
Posts: 2
Model Frame does not show again after hiding

As the title says, I could make a playermodel frame which shows a spell animation like Weakauras does when logged in. But after I hide it, I can't show it again until reloadui

local function CreateAniFrame(parent, path, size, pos, zxy)

  local model = CreateFrame("Playermodel", nil, parent)
  model:SetPoint("CENTER", parent, "CENTER", pos[1], pos[2])

FYI, it's not a unit portrait or something, it's about spell effect animation. Could anyone give me some clues or some references to fix the issue?
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » Model Frame does not show again after hiding

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off