From ca4b7efd0fe0aca39c69475863715d575d05ee3d Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Mon, 16 Nov 2015 21:11:22 +0000 Subject: dont find parts of groups marked as Deleted --- OpenSim/Region/Framework/Scenes/SceneGraph.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim/Region/Framework') 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 protected internal SceneObjectPart GetSceneObjectPart(uint localID) { SceneObjectGroup group = GetGroupByPrim(localID); - if (group == null) + if (group == null || group.IsDeleted) return null; return group.GetPart(localID); } -- cgit v1.1