diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index aa74072..4cf1ea4 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs | |||
@@ -1670,7 +1670,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
1670 | /// <param name="group"></param> | 1670 | /// <param name="group"></param> |
1671 | public void DeleteSceneObject(SceneObjectGroup group) | 1671 | public void DeleteSceneObject(SceneObjectGroup group) |
1672 | { | 1672 | { |
1673 | SceneObjectPart rootPart = (group).GetChildPart(group.UUID); | 1673 | SceneObjectPart rootPart = group.GetChildPart(group.UUID); |
1674 | 1674 | ||
1675 | if (rootPart.PhysActor != null) | 1675 | if (rootPart.PhysActor != null) |
1676 | { | 1676 | { |
@@ -1685,7 +1685,6 @@ namespace OpenSim.Region.Environment.Scenes | |||
1685 | } | 1685 | } |
1686 | 1686 | ||
1687 | group.DeleteGroup(); | 1687 | group.DeleteGroup(); |
1688 | group.DeleteParts(); | ||
1689 | } | 1688 | } |
1690 | 1689 | ||
1691 | /// <summary> | 1690 | /// <summary> |