From b55c9761b46cf21688ff912877d0b1e959896204 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Mon, 6 Oct 2008 04:20:27 +0000 Subject: Fix a nullref --- OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim/Region/Environment/Scenes') diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs index 63c97eb..1204cd4 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs @@ -1202,7 +1202,7 @@ namespace OpenSim.Region.Environment.Scenes /// 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) { -- cgit v1.1