mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 06:06:06 +08:00
Implement proper persistence of the following prim properties:
Floating text, Rotation, Texture animation, Particle System This will make "Eye Candy" scripts work without modification in XEngine. The use of the CHANGED_REGION_RESTART hack is no longer needed. Implemented in MySQL only, hovertext also in SQLite.
This commit is contained in:
@@ -856,7 +856,15 @@ namespace OpenSim.Region.ScriptEngine.XEngine
|
||||
|
||||
foreach (IScriptInstance i in instances)
|
||||
{
|
||||
// Stop the script, even forcibly if needed. Then flag
|
||||
// it as shutting down and restore the previous run state
|
||||
// for serialization, so the scripts don't come back
|
||||
// dead after region restart
|
||||
//
|
||||
bool prevRunning = i.Running;
|
||||
i.Stop(50);
|
||||
i.ShuttingDown = true;
|
||||
i.Running = prevRunning;
|
||||
}
|
||||
|
||||
DoBackup(new Object[] {0});
|
||||
|
||||
Reference in New Issue
Block a user