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 50e1e39..8a0d288 100644 --- a/OpenSim/Region/Framework/Scenes/SceneViewer.cs +++ b/OpenSim/Region/Framework/Scenes/SceneViewer.cs | |||
@@ -126,7 +126,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
126 | g.ScheduleFullUpdateToAvatar(m_presence); | 126 | g.ScheduleFullUpdateToAvatar(m_presence); |
127 | } | 127 | } |
128 | 128 | ||
129 | while (m_partsUpdateQueue.Count > 0) | 129 | while (m_partsUpdateQueue != null && m_partsUpdateQueue.Count != null && m_partsUpdateQueue.Count > 0) |
130 | { | 130 | { |
131 | SceneObjectPart part = m_partsUpdateQueue.Dequeue(); | 131 | SceneObjectPart part = m_partsUpdateQueue.Dequeue(); |
132 | 132 | ||