Fix prim returns I broke earlier

soprefactor
Melanie Thielker 2010-06-01 03:04:49 +02:00 committed by Melanie
parent f29cb57bf1
commit a5728cc91c
1 changed files with 7 additions and 4 deletions

View File

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