diff options
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs index e1128a6..e111867 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | |||
@@ -1637,11 +1637,14 @@ namespace OpenSim.Region.Framework.Scenes | |||
1637 | null, | 1637 | null, |
1638 | remoteClient.AgentId, | 1638 | remoteClient.AgentId, |
1639 | deleteGroups)) | 1639 | deleteGroups)) |
1640 | foreach (SceneObjectGroup g in deleteGroups) | ||
1641 | { | 1640 | { |
1642 | AddReturn(g.OwnerID, g.Name, g.AbsolutePosition, "parcel owner return"); | 1641 | permissionToTake = true; |
1643 | DeleteSceneObject(g, false); | 1642 | permissionToDelete = true; |
1644 | return; | 1643 | |
1644 | foreach (SceneObjectGroup g in deleteGroups) | ||
1645 | { | ||
1646 | AddReturn(g.OwnerID, g.Name, g.AbsolutePosition, "parcel owner return"); | ||
1647 | } | ||
1645 | } | 1648 | } |
1646 | } | 1649 | } |
1647 | else // Auto return passes through here with null agent | 1650 | else // Auto return passes through here with null agent |