aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneGraph.cs8
1 files changed, 7 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneGraph.cs b/OpenSim/Region/Framework/Scenes/SceneGraph.cs
index 006f9c6..06de72f 100644
--- a/OpenSim/Region/Framework/Scenes/SceneGraph.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneGraph.cs
@@ -353,8 +353,14 @@ namespace OpenSim.Region.Framework.Scenes
353 /// </returns> 353 /// </returns>
354 protected bool AddSceneObject(SceneObjectGroup sceneObject, bool attachToBackup, bool sendClientUpdates) 354 protected bool AddSceneObject(SceneObjectGroup sceneObject, bool attachToBackup, bool sendClientUpdates)
355 { 355 {
356 if (sceneObject == null || sceneObject.RootPart.UUID == UUID.Zero) 356 if (sceneObject.UUID == UUID.Zero)
357 {
358 m_log.ErrorFormat(
359 "[SCENEGRAPH]: Tried to add scene object {0} to {1} with illegal UUID of {2}",
360 sceneObject.Name, m_parentScene.RegionInfo.RegionName, UUID.Zero);
361
357 return false; 362 return false;
363 }
358 364
359 if (Entities.ContainsKey(sceneObject.UUID)) 365 if (Entities.ContainsKey(sceneObject.UUID))
360 { 366 {