aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorMelanie Thielker2010-06-01 03:04:49 +0200
committerMelanie Thielker2010-06-01 03:05:08 +0200
commit6c4c72546c25ee760d43bc75422ae484b68fbea0 (patch)
tree596851cf49d806d1a82740160428e42738a6d442
parentChange the handling of CreateSelected. Only send it on real creation, not (diff)
downloadopensim-SC-6c4c72546c25ee760d43bc75422ae484b68fbea0.zip
opensim-SC-6c4c72546c25ee760d43bc75422ae484b68fbea0.tar.gz
opensim-SC-6c4c72546c25ee760d43bc75422ae484b68fbea0.tar.bz2
opensim-SC-6c4c72546c25ee760d43bc75422ae484b68fbea0.tar.xz
Fix prim returns I broke earlier
-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 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