aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.Inventory.cs11
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 bad92a0..cc7b648 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
@@ -1618,11 +1618,14 @@ namespace OpenSim.Region.Framework.Scenes
1618 null, 1618 null,
1619 remoteClient.AgentId, 1619 remoteClient.AgentId,
1620 deleteGroups)) 1620 deleteGroups))
1621 foreach (SceneObjectGroup g in deleteGroups)
1622 { 1621 {
1623 AddReturn(g.OwnerID, g.Name, g.AbsolutePosition, "parcel owner return"); 1622 permissionToTake = true;
1624 DeleteSceneObject(g, false); 1623 permissionToDelete = true;
1625 return; 1624
1625 foreach (SceneObjectGroup g in deleteGroups)
1626 {
1627 AddReturn(g.OwnerID, g.Name, g.AbsolutePosition, "parcel owner return");
1628 }
1626 } 1629 }
1627 } 1630 }
1628 else // Auto return passes through here with null agent 1631 else // Auto return passes through here with null agent