Currently, it appears that the texture has to be visible to request the texture and get a result. It's probably getting unloaded when hidden.
Works:
/dump UIParentLoadAddOn("Blizzard_MacroUI"), ShowUIPanel(MacroPopupFrame), ({MacroPopupFrame:GetRegions()})[1]:GetTexture()
Doesn't work:
/dump UIParentLoadAddOn("Blizzard_MacroUI"), ({MacroPopupFrame:GetRegions()})[1]:GetTexture()
|