What is the value of the config.DRAW_LIST_ELEMENT_INTERVAL variable? You are passing this value to viz.waittime, which will block rendering for the specified amount of seconds. If the value of the variable is around 1 second, then you are stalling the frame for a second and it when it continues, the fade action will be complete.
I noticed you are yielding the value of viz.waittime. Were you intending to use viztask.waitTime instead?
|