Merge branch 'master' into careminster

avinationmerge
Melanie 2009-12-02 10:22:21 +00:00
commit 551696bb45
1 changed files with 12 additions and 3 deletions

View File

@ -1726,10 +1726,19 @@ namespace OpenSim.Region.Framework.Scenes
if (folderID == UUID.Zero && folder == null) if (folderID == UUID.Zero && folder == null)
{ {
// Catch all. Use lost & found if (action == DeRezAction.Delete)
// {
// Deletes go to trash by default
//
folder = InventoryService.GetFolderForType(userID, AssetType.TrashFolder);
}
else
{
// Catch all. Use lost & found
//
folder = InventoryService.GetFolderForType(userID, AssetType.LostAndFoundFolder); folder = InventoryService.GetFolderForType(userID, AssetType.LostAndFoundFolder);
}
} }
if (folder == null) // None of the above if (folder == null) // None of the above