Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0006687opensim[REGION] Script Functionspublic2013-06-24 07:542013-06-24 15:11
Assigned To 
PlatformOperating SystemUbuntu Linux 12.10Operating System Version
Product Versionmaster (dev code) 
Target VersionFixed in Version 
Summary0006687: osDraw* dynamic textures blank on region restart
DescriptionAny 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.
Steps To ReproduceRestart 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.
Additional InformationThis is not new. It's been happening for as long as I can remember using the functions.
TagsNo tags attached.
Git Revision or version number
Run Mode Grid (1 Region per Sim)
Physics EngineODE
Script Engine
EnvironmentMono / Linux32
Mono Version2.10
Attached Files

- Relationships

-  Notes
Mata Hari (reporter)
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()

- Issue History
Date Modified Username Field Change
2013-06-24 07:54 Starflower New Issue
2013-06-24 15:11 Mata Hari Note Added: 0024129

Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker