aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2012-06-30 01:05:57 +0100
committerJustin Clark-Casey (justincc)2012-06-30 01:06:37 +0100
commit56c776066c71a6ed88d6cd2455f27860d1136530 (patch)
tree2f970bf79fbfd90242d1f8753dadadeb28cc82c6
parentMove update of the final optional ODE total frame stat inside the OdeLock rat... (diff)
downloadopensim-SC-56c776066c71a6ed88d6cd2455f27860d1136530.zip
opensim-SC-56c776066c71a6ed88d6cd2455f27860d1136530.tar.gz
opensim-SC-56c776066c71a6ed88d6cd2455f27860d1136530.tar.bz2
opensim-SC-56c776066c71a6ed88d6cd2455f27860d1136530.tar.xz
Remove code listed for removal in 0.7.3 that handled script restart for incoming attachments from pre-fatpack regions (versions of OpenSimulator more than a year old)
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs16
1 files changed, 0 insertions, 16 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index c28979e..0f23cc7 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -2494,22 +2494,6 @@ namespace OpenSim.Region.Framework.Scenes
2494 newObject.RootPart.ParentGroup.CreateScriptInstances(0, false, DefaultScriptEngine, GetStateSource(newObject)); 2494 newObject.RootPart.ParentGroup.CreateScriptInstances(0, false, DefaultScriptEngine, GetStateSource(newObject));
2495 newObject.ResumeScripts(); 2495 newObject.ResumeScripts();
2496 } 2496 }
2497 else
2498 {
2499 ScenePresence sp;
2500 if (TryGetScenePresence(newObject.OwnerID, out sp))
2501 {
2502 // If the scene presence is here and already a root
2503 // agent, we came from a ;egacy region. Start the scripts
2504 // here as they used to start.
2505 // TODO: Remove in 0.7.3
2506 if (!sp.IsChildAgent)
2507 {
2508 newObject.RootPart.ParentGroup.CreateScriptInstances(0, false, DefaultScriptEngine, GetStateSource(newObject));
2509 newObject.ResumeScripts();
2510 }
2511 }
2512 }
2513 2497
2514 // Do this as late as possible so that listeners have full access to the incoming object 2498 // Do this as late as possible so that listeners have full access to the incoming object
2515 EventManager.TriggerOnIncomingSceneObject(newObject); 2499 EventManager.TriggerOnIncomingSceneObject(newObject);