Originally Posted by Seerah
|
Thanks Seerah. It appears the aforementioned frames are childless. Printing GetChildren() against them doesn't return anything, and doing so against their parents doesn't return anything that /framestack didn't already reveal.
What's more confusing to me, is that in running the below code, I expected *all* UI textures to be affected:
Code:
local abc = function()
for i, v in pairs(_G) do
if type(v) == "table" then
local meta = getmetatable(v)
if meta
and meta.__index
and type(meta.__index) == "table"
and meta.__index.GetTexture
and v:GetObjectType() == "Texture"
then
v:SetDesaturated(1)
v:SetVertexColor(1, 0, 0)
end
end
end
end
But this hodgepodge is what results (some textures left completely untouched, some desaturated but not recolored
):
My total inexperience with global tables aside for a sec
, it feels like there is a methodology to solving this that I'm totally missing.