diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneGraph.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneGraph.cs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneGraph.cs b/OpenSim/Region/Framework/Scenes/SceneGraph.cs index 4d7bc0c..46c22ca 100644 --- a/OpenSim/Region/Framework/Scenes/SceneGraph.cs +++ b/OpenSim/Region/Framework/Scenes/SceneGraph.cs | |||
@@ -459,7 +459,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
459 | SceneObjectPart[] parts = grp.Parts; | 459 | SceneObjectPart[] parts = grp.Parts; |
460 | for (int i = 0; i < parts.Length; i++) | 460 | for (int i = 0; i < parts.Length; i++) |
461 | SceneObjectGroupsByFullPartID.Remove(parts[i].UUID); | 461 | SceneObjectGroupsByFullPartID.Remove(parts[i].UUID); |
462 | SceneObjectGroupsByFullPartID.Remove(grp.RootPart.UUID); | ||
463 | } | 462 | } |
464 | 463 | ||
465 | lock (SceneObjectGroupsByLocalPartID) | 464 | lock (SceneObjectGroupsByLocalPartID) |
@@ -467,7 +466,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
467 | SceneObjectPart[] parts = grp.Parts; | 466 | SceneObjectPart[] parts = grp.Parts; |
468 | for (int i = 0; i < parts.Length; i++) | 467 | for (int i = 0; i < parts.Length; i++) |
469 | SceneObjectGroupsByLocalPartID.Remove(parts[i].LocalId); | 468 | SceneObjectGroupsByLocalPartID.Remove(parts[i].LocalId); |
470 | SceneObjectGroupsByLocalPartID.Remove(grp.RootPart.LocalId); | ||
471 | } | 469 | } |
472 | 470 | ||
473 | return Entities.Remove(uuid); | 471 | return Entities.Remove(uuid); |