Fix a nullref

0.6.0-stable
Melanie Thielker 2008-10-06 04:20:27 +00:00
parent fd96bb6f43
commit b55c9761b4
1 changed files with 1 additions and 1 deletions

View File

@ -1202,7 +1202,7 @@ namespace OpenSim.Region.Environment.Scenes
/// <param name="part"></param> /// <param name="part"></param>
internal void SendPartFullUpdate(IClientAPI remoteClient, SceneObjectPart part, uint clientFlags) internal void SendPartFullUpdate(IClientAPI remoteClient, SceneObjectPart part, uint clientFlags)
{ {
if (m_rootPart.UUID == part.UUID) if (m_rootPart != null && m_rootPart.UUID == part.UUID)
{ {
if (m_rootPart.IsAttachment) if (m_rootPart.IsAttachment)
{ {