Guard another nullref

avinationmerge
Melanie 2011-08-09 22:11:27 +02:00
parent 0e9dda91cb
commit 6ab5ca2bda
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ namespace OpenSim.Region.Framework.Scenes
g.ScheduleFullUpdateToAvatar(m_presence); g.ScheduleFullUpdateToAvatar(m_presence);
} }
while (m_partsUpdateQueue.Count != null && m_partsUpdateQueue.Count > 0) while (m_partsUpdateQueue != null && m_partsUpdateQueue.Count != null && m_partsUpdateQueue.Count > 0)
{ {
SceneObjectPart part = m_partsUpdateQueue.Dequeue(); SceneObjectPart part = m_partsUpdateQueue.Dequeue();