aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework
diff options
context:
space:
mode:
authorMelanie Thielker2010-05-27 20:08:48 +0200
committerMelanie Thielker2010-05-27 20:08:48 +0200
commitba49319c077bc5e7b998674aaac62497e757706c (patch)
tree65fdbf6ee8e99fa0292d796de9524011f6818445 /OpenSim/Region/Framework
parentComment noisy "CONNECTION DEBUGGING" messages, because they push more (diff)
downloadopensim-SC_OLD-ba49319c077bc5e7b998674aaac62497e757706c.zip
opensim-SC_OLD-ba49319c077bc5e7b998674aaac62497e757706c.tar.gz
opensim-SC_OLD-ba49319c077bc5e7b998674aaac62497e757706c.tar.bz2
opensim-SC_OLD-ba49319c077bc5e7b998674aaac62497e757706c.tar.xz
Prevent a null ref
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneViewer.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneViewer.cs b/OpenSim/Region/Framework/Scenes/SceneViewer.cs
index 4ba4fab..2fc98e5 100644
--- a/OpenSim/Region/Framework/Scenes/SceneViewer.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneViewer.cs
@@ -84,6 +84,9 @@ namespace OpenSim.Region.Framework.Scenes
84 while (m_pendingObjects != null && m_pendingObjects.Count > 0) 84 while (m_pendingObjects != null && m_pendingObjects.Count > 0)
85 { 85 {
86 SceneObjectGroup g = m_pendingObjects.Dequeue(); 86 SceneObjectGroup g = m_pendingObjects.Dequeue();
87 // Yes, this can really happen
88 if (g == null)
89 continue;
87 90
88 // This is where we should check for draw distance 91 // This is where we should check for draw distance
89 // do culling and stuff. Problem with that is that until 92 // do culling and stuff. Problem with that is that until