Fix prim returns I broke earlier

avinationmerge
Melanie Thielker 2010-06-01 03:04:49 +02:00
parent eca15cfbf2
commit 6c4c72546c
1 changed files with 7 additions and 4 deletions

View File

@ -1637,11 +1637,14 @@ namespace OpenSim.Region.Framework.Scenes
null, null,
remoteClient.AgentId, remoteClient.AgentId,
deleteGroups)) deleteGroups))
{
permissionToTake = true;
permissionToDelete = true;
foreach (SceneObjectGroup g in deleteGroups) foreach (SceneObjectGroup g in deleteGroups)
{ {
AddReturn(g.OwnerID, g.Name, g.AbsolutePosition, "parcel owner return"); AddReturn(g.OwnerID, g.Name, g.AbsolutePosition, "parcel owner return");
DeleteSceneObject(g, false); }
return;
} }
} }
else // Auto return passes through here with null agent else // Auto return passes through here with null agent