aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneGraph.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneGraph.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneGraph.cs10
1 files changed, 7 insertions, 3 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneGraph.cs b/OpenSim/Region/Framework/Scenes/SceneGraph.cs
index 5fbc658..1dab4df 100644
--- a/OpenSim/Region/Framework/Scenes/SceneGraph.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneGraph.cs
@@ -227,11 +227,15 @@ namespace OpenSim.Region.Framework.Scenes
227 /// If true, we won't persist this object until it changes 227 /// If true, we won't persist this object until it changes
228 /// If false, we'll persist this object immediately 228 /// If false, we'll persist this object immediately
229 /// </param> 229 /// </param>
230 /// <param name="sendClientUpdates">
231 /// If true, we send updates to the client to tell it about this object
232 /// If false, we leave it up to the caller to do this
233 /// </param>
230 /// <returns> 234 /// <returns>
231 /// true if the object was added, false if an object with the same uuid was already in the scene 235 /// true if the object was added, false if an object with the same uuid was already in the scene
232 /// </returns> 236 /// </returns>
233 protected internal bool AddRestoredSceneObject( 237 protected internal bool AddRestoredSceneObject(
234 SceneObjectGroup sceneObject, bool attachToBackup, bool alreadyPersisted) 238 SceneObjectGroup sceneObject, bool attachToBackup, bool alreadyPersisted, bool sendClientUpdates)
235 { 239 {
236 // KF: Check for out-of-region, move inside and make static. 240 // KF: Check for out-of-region, move inside and make static.
237 Vector3 npos = new Vector3(sceneObject.RootPart.GroupPosition.X, 241 Vector3 npos = new Vector3(sceneObject.RootPart.GroupPosition.X,
@@ -263,9 +267,9 @@ namespace OpenSim.Region.Framework.Scenes
263 sceneObject.HasGroupChanged = true; 267 sceneObject.HasGroupChanged = true;
264 } 268 }
265 269
266 return AddSceneObject(sceneObject, attachToBackup, true); 270 return AddSceneObject(sceneObject, attachToBackup, sendClientUpdates);
267 } 271 }
268 272
269 /// <summary> 273 /// <summary>
270 /// Add a newly created object to the scene. This will both update the scene, and send information about the 274 /// Add a newly created object to the scene. This will both update the scene, and send information about the
271 /// new object to all clients interested in the scene. 275 /// new object to all clients interested in the scene.