diff options
Merge branch 'master' into careminster-presence-refactor
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 20 |
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; | |||
42 | using OpenSim.Framework; | 42 | using OpenSim.Framework; |
43 | using OpenSim.Services.Interfaces; | 43 | using OpenSim.Services.Interfaces; |
44 | using OpenSim.Framework.Communications; | 44 | using OpenSim.Framework.Communications; |
45 | |||
46 | using OpenSim.Framework.Console; | 45 | using OpenSim.Framework.Console; |
47 | using OpenSim.Region.Framework.Interfaces; | 46 | using OpenSim.Region.Framework.Interfaces; |
48 | using OpenSim.Region.Framework.Scenes.Scripting; | 47 | using 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. |