WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   OpenRDX: Bug/Error Reports (https://www.wowinterface.com/forums/forumdisplay.php?f=105)
-   -   [Bug] RDX9: Text Info objects not updating (https://www.wowinterface.com/forums/showthread.php?t=43846)

Brainn 08-05-12 05:32 AM

[Bug] RDX9: Text Info objects not updating
 
The 'Text Info' object is not updating its text - the text gets set when the window is build, but then never updates. For testing i added a periodic repaint to the window, but even with that the text does not update.

Brainn 08-05-12 07:24 AM

looking at the code, this seems to be caused by a change in RDX\Designs\Texts\InfoText.lua, Line 461:
Code:

--VFLT.AdaptiveSchedule("artf_]] .. objname .. [[", ]] .. otherText[desc.ty].interval .. [[, artf_]] .. objname .. [[);
this line was enabled in the older versions, and from what i understand this creates the repaint schedule for TextInfo objects that are registered with repaintType="interval" - in the destroy code you still have the VFLT.AdaptiveUnschedule enabled.

i reenabled the AdaptiveSchedule in the create code and now it refreshes the text as it should again.

sigg 08-06-12 12:03 PM

Fixed

I remember, I disabled it when working on the new timer engine.

Thanks


All times are GMT -6. The time now is 09:07 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI