aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Scene.cs
diff options
context:
space:
mode:
authorMelanie2010-08-25 23:22:23 +0100
committerMelanie2010-08-25 23:22:23 +0100
commit252e159340575cb75b35091ff5d6c5b8fa9beed7 (patch)
tree8e77d58e98ad74a47daec298d7488e19e6797748 /OpenSim/Region/Framework/Scenes/Scene.cs
parentPrevent an object disposed exception that made forms comms unreliable. After (diff)
parentPrevent an object disposed exception that made forms comms unreliable. After (diff)
downloadopensim-SC_OLD-252e159340575cb75b35091ff5d6c5b8fa9beed7.zip
opensim-SC_OLD-252e159340575cb75b35091ff5d6c5b8fa9beed7.tar.gz
opensim-SC_OLD-252e159340575cb75b35091ff5d6c5b8fa9beed7.tar.bz2
opensim-SC_OLD-252e159340575cb75b35091ff5d6c5b8fa9beed7.tar.xz
Merge branch 'master' into careminster-presence-refactor
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs20
1 files changed, 18 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index eb5c3cb..520f1a1 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -42,7 +42,6 @@ using OpenMetaverse.Imaging;
42using OpenSim.Framework; 42using OpenSim.Framework;
43using OpenSim.Services.Interfaces; 43using OpenSim.Services.Interfaces;
44using OpenSim.Framework.Communications; 44using OpenSim.Framework.Communications;
45
46using OpenSim.Framework.Console; 45using OpenSim.Framework.Console;
47using OpenSim.Region.Framework.Interfaces; 46using OpenSim.Region.Framework.Interfaces;
48using OpenSim.Region.Framework.Scenes.Scripting; 47using OpenSim.Region.Framework.Scenes.Scripting;
@@ -2051,7 +2050,24 @@ namespace OpenSim.Region.Framework.Scenes
2051 public bool AddNewSceneObject(SceneObjectGroup sceneObject, bool attachToBackup, bool sendClientUpdates) 2050 public bool AddNewSceneObject(SceneObjectGroup sceneObject, bool attachToBackup, bool sendClientUpdates)
2052 { 2051 {
2053 return m_sceneGraph.AddNewSceneObject(sceneObject, attachToBackup, sendClientUpdates); 2052 return m_sceneGraph.AddNewSceneObject(sceneObject, attachToBackup, sendClientUpdates);
2054 } 2053 }
2054
2055 /// <summary>
2056 /// Add a newly created object to the scene.
2057 /// </summary>
2058 ///
2059 /// This method does not send updates to the client - callers need to handle this themselves.
2060 /// <param name="sceneObject"></param>
2061 /// <param name="attachToBackup"></param>
2062 /// <param name="pos">Position of the object</param>
2063 /// <param name="rot">Rotation of the object</param>
2064 /// <param name="vel">Velocity of the object. This parameter only has an effect if the object is physical</param>
2065 /// <returns></returns>
2066 public bool AddNewSceneObject(
2067 SceneObjectGroup sceneObject, bool attachToBackup, Vector3 pos, Quaternion rot, Vector3 vel)
2068 {
2069 return m_sceneGraph.AddNewSceneObject(sceneObject, attachToBackup, pos, rot, vel);
2070 }
2055 2071
2056 /// <summary> 2072 /// <summary>
2057 /// Delete every object from the scene. This does not include attachments worn by avatars. 2073 /// Delete every object from the scene. This does not include attachments worn by avatars.