Quote Originally Posted by ZorbaTHut View Post
Quote Originally Posted by Karuul View Post
What triggers the "renderFrame" function? The issue I am having is I have multiple objects on a frame. I want to be able to change their layer on the fly. But just doing a SetLayer does not seem to be changing anything. If I do a reloadui the layer will appear properly but just changing the layer doesn't seem to do it. I have tried SetVisible(false) then true, I have tried changing the textures, I have tried making the parent frame hidden then visible but nothing besides a reloadui seems to work. I'm assuming I'm just missing something simple here but for the life of me I can't figure out what it is.
In this pseudocode, it happens once every frame. If it wasn't triggering, you wouldn't see anything (The actual implementation is vastly different than this, it's just pseudocode.) Can you reproduce the issue in a test addon?
Jump to post...