diff options
author | Justin Clarke Casey | 2008-06-21 20:12:01 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-06-21 20:12:01 +0000 |
commit | e19a76377c561df939df512fdaeb6d4e830eb68a (patch) | |
tree | 34498d3a36542a1c286e729481a429422893e0ba /OpenSim/Region/Environment/Scenes/Scene.cs | |
parent | * Remove a bug I created in r5171 where taking an object would terminate the ... (diff) | |
download | opensim-SC-e19a76377c561df939df512fdaeb6d4e830eb68a.zip opensim-SC-e19a76377c561df939df512fdaeb6d4e830eb68a.tar.gz opensim-SC-e19a76377c561df939df512fdaeb6d4e830eb68a.tar.bz2 opensim-SC-e19a76377c561df939df512fdaeb6d4e830eb68a.tar.xz |
* Refactor: Fold sog.DeleteParts() functionality into existing sog.DeleteGroup()
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> |