aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xOpenSim/Region/Framework/Scenes/SceneGraph.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneGraph.cs b/OpenSim/Region/Framework/Scenes/SceneGraph.cs
index 0879cce..9308500 100755
--- a/OpenSim/Region/Framework/Scenes/SceneGraph.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneGraph.cs
@@ -1171,7 +1171,7 @@ namespace OpenSim.Region.Framework.Scenes
1171 protected internal SceneObjectPart GetSceneObjectPart(uint localID) 1171 protected internal SceneObjectPart GetSceneObjectPart(uint localID)
1172 { 1172 {
1173 SceneObjectGroup group = GetGroupByPrim(localID); 1173 SceneObjectGroup group = GetGroupByPrim(localID);
1174 if (group == null) 1174 if (group == null || group.IsDeleted)
1175 return null; 1175 return null;
1176 return group.GetPart(localID); 1176 return group.GetPart(localID);
1177 } 1177 }