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 c6cf4cc..4ba4fab 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 | } |