aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorUbitUmarov2015-11-16 21:11:22 +0000
committerUbitUmarov2015-11-16 21:11:22 +0000
commitca4b7efd0fe0aca39c69475863715d575d05ee3d (patch)
tree1cd2e6ea1b8dc50b2690c1583349d87d190f0e7f /OpenSim/Region
parent work around some 'tests' error: object is deleted on DeRezObjects (diff)
downloadopensim-SC-ca4b7efd0fe0aca39c69475863715d575d05ee3d.zip
opensim-SC-ca4b7efd0fe0aca39c69475863715d575d05ee3d.tar.gz
opensim-SC-ca4b7efd0fe0aca39c69475863715d575d05ee3d.tar.bz2
opensim-SC-ca4b7efd0fe0aca39c69475863715d575d05ee3d.tar.xz
dont find parts of groups marked as Deleted
Diffstat (limited to 'OpenSim/Region')
-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 }