diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneViewer.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneViewer.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneViewer.cs b/OpenSim/Region/Framework/Scenes/SceneViewer.cs index 15bc33d..2fc98e5 100644 --- a/OpenSim/Region/Framework/Scenes/SceneViewer.cs +++ b/OpenSim/Region/Framework/Scenes/SceneViewer.cs | |||
@@ -75,7 +75,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
75 | 75 | ||
76 | foreach (EntityBase e in m_presence.Scene.Entities) | 76 | foreach (EntityBase e in m_presence.Scene.Entities) |
77 | { | 77 | { |
78 | if (e is SceneObjectGroup) | 78 | if (e != null && e is SceneObjectGroup) |
79 | m_pendingObjects.Enqueue((SceneObjectGroup)e); | 79 | m_pendingObjects.Enqueue((SceneObjectGroup)e); |
80 | } | 80 | } |
81 | } | 81 | } |