Since patch 4.2, the option to hide the default Blizzard raid frames isn't saved, so we need to use addons for it. However, no matter what I try, I always get taint.
First I tried just this:
Code:
CompactRaidFrameManager:UnregisterAllEvents()
CompactRaidFrameManager.Show = F.dummy
CompactRaidFrameManager:Hide()
CompactRaidFrameContainer:UnregisterAllEvents()
CompactRaidFrameContainer.Show = F.dummy
CompactRaidFrameContainer:Hide()
But that got me taint every time I entered combat while in party/raid, due to the functions below which I thus decided to disable:
Code:
CompactUnitFrame_UpdateVisible = F.dummy
CompactUnitFrame_UpdateAll = F.dummy
Now I don't get taint anymore when entering combat, but I do get taint when I enter a vehicle while in combat since I've disabled those functions:
Code:
7/16 11:57:57.252 Global variable CompactUnitFrame_UpdateAll tainted by FreeUI - Interface\AddOns\FreeUI\scripts\unitframes.lua:207
7/16 11:57:57.252 Execution tainted by FreeUI while reading CompactUnitFrame_UpdateAll - Interface\FrameXML\CompactUnitFrame.lua:101
7/16 11:57:57.252 An action was blocked in combat because of taint from FreeUI - PetFrame:Show()
7/16 11:57:57.252 Interface\FrameXML\PetFrame.lua:49 PetFrame_Update()
7/16 11:57:57.252 Interface\FrameXML\PlayerFrame.lua:319 animPostFunc()
7/16 11:57:57.252 Interface\FrameXML\AnimationSystem.lua:22 Animation_UpdateFrame()
7/16 11:57:57.252 Interface\FrameXML\AnimationSystem.lua:35
I'm getting quite frustrated over this. Has anyone found a secure and efficient way to disable the raid frames?
Any help is appreciated.