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 d6bb81c..2c3084c 100644 --- a/OpenSim/Region/Framework/Scenes/SceneViewer.cs +++ b/OpenSim/Region/Framework/Scenes/SceneViewer.cs | |||
@@ -123,7 +123,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
123 | g.ScheduleFullUpdateToAvatar(m_presence); | 123 | g.ScheduleFullUpdateToAvatar(m_presence); |
124 | } | 124 | } |
125 | 125 | ||
126 | while (m_partsUpdateQueue.Count > 0) | 126 | while (m_partsUpdateQueue != null && m_partsUpdateQueue.Count != null && m_partsUpdateQueue.Count > 0) |
127 | { | 127 | { |
128 | SceneObjectPart part = m_partsUpdateQueue.Dequeue(); | 128 | SceneObjectPart part = m_partsUpdateQueue.Dequeue(); |
129 | 129 | ||