aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Scene.cs
diff options
context:
space:
mode:
authorDiva Canto2011-05-01 09:11:16 -0700
committerDiva Canto2011-05-01 09:11:16 -0700
commitf0bf64b6debf85440a823816b725dee7d41cedac (patch)
treeba4155810f2b27a8e3220214d92ecd7faa0cc069 /OpenSim/Region/Framework/Scenes/Scene.cs
parentAdded OpenSim.Capabilities.Handlers. For the moment it has only the GetTextur... (diff)
parentIncreased Timeout to 30 secs. (diff)
downloadopensim-SC_OLD-f0bf64b6debf85440a823816b725dee7d41cedac.zip
opensim-SC_OLD-f0bf64b6debf85440a823816b725dee7d41cedac.tar.gz
opensim-SC_OLD-f0bf64b6debf85440a823816b725dee7d41cedac.tar.bz2
opensim-SC_OLD-f0bf64b6debf85440a823816b725dee7d41cedac.tar.xz
Merge branch 'master' into caps
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index 2cbe4dc..7c5e246 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -2342,6 +2342,22 @@ namespace OpenSim.Region.Framework.Scenes
2342 newObject.RootPart.ParentGroup.CreateScriptInstances(0, false, DefaultScriptEngine, GetStateSource(newObject)); 2342 newObject.RootPart.ParentGroup.CreateScriptInstances(0, false, DefaultScriptEngine, GetStateSource(newObject));
2343 newObject.ResumeScripts(); 2343 newObject.ResumeScripts();
2344 } 2344 }
2345 else
2346 {
2347 ScenePresence sp;
2348 if (TryGetScenePresence(newObject.OwnerID, out sp))
2349 {
2350 // If the scene presence is here and already a root
2351 // agent, we came from a ;egacy region. Start the scripts
2352 // here as they used to start.
2353 // TODO: Remove in 0.7.3
2354 if (!sp.IsChildAgent)
2355 {
2356 newObject.RootPart.ParentGroup.CreateScriptInstances(0, false, DefaultScriptEngine, GetStateSource(newObject));
2357 newObject.ResumeScripts();
2358 }
2359 }
2360 }
2345 2361
2346 // Do this as late as possible so that listeners have full access to the incoming object 2362 // Do this as late as possible so that listeners have full access to the incoming object
2347 EventManager.TriggerOnIncomingSceneObject(newObject); 2363 EventManager.TriggerOnIncomingSceneObject(newObject);