aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
diff options
context:
space:
mode:
authorMelanie Thielker2008-11-18 17:21:33 +0000
committerMelanie Thielker2008-11-18 17:21:33 +0000
commit9d7e503ce3dd19ede611f7831d455aae5bf6e1e1 (patch)
tree83d439c2a1bbdeb16c759c10565f92388d68f884 /OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
parentFixed MySQL and SQLite so they will save the (diff)
downloadopensim-SC-9d7e503ce3dd19ede611f7831d455aae5bf6e1e1.zip
opensim-SC-9d7e503ce3dd19ede611f7831d455aae5bf6e1e1.tar.gz
opensim-SC-9d7e503ce3dd19ede611f7831d455aae5bf6e1e1.tar.bz2
opensim-SC-9d7e503ce3dd19ede611f7831d455aae5bf6e1e1.tar.xz
Prevent a nullref when building new prims while others watch
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
index 380557b..2d62d66 100644
--- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
@@ -1699,6 +1699,8 @@ namespace OpenSim.Region.Environment.Scenes
1699 1699
1700 public void QueueForUpdateCheck() 1700 public void QueueForUpdateCheck()
1701 { 1701 {
1702 if (m_scene == null) // Need to check here as it's null during object creation
1703 return;
1702 m_scene.m_sceneGraph.AddToUpdateList(this); 1704 m_scene.m_sceneGraph.AddToUpdateList(this);
1703 } 1705 }
1704 1706