MantisBT - opensim
View Issue Details
0006687opensim[REGION] Script Functionspublic2013-06-24 07:542013-06-24 15:11
Ubuntu Linux 12.10
master (dev code) 
Grid (1 Region per Sim)
Mono / Linux32
0006687: osDraw* dynamic textures blank on region restart
Any textures generated by the osDraw* functions are blank when the region restarts. This has been the case for as long as I can remember. You have to restart the scripts manually for the textures to appear.
Restart region. Look at textures generated by osDraw* scripts. They are blank. Reset the scripts manually. Only now do you see them appear. If you have a lot of these, it's naturally a problem.
This is not new. It's been happening for as long as I can remember using the functions.
No tags attached.
Issue History
2013-06-24 07:54StarflowerNew Issue
2013-06-24 15:11Mata HariNote Added: 0024129

Mata Hari   
2013-06-24 15:11   
True, though the relatively easy to work around is to add

    changed (integer change)
        if (change & CHANGED_REGION_START) llResetScript();
        // and any more changed triggers you might need in your script

Then call your draw function from state_entry()