Merge branch 'master' into careminster
commit
551696bb45
|
@ -1725,12 +1725,21 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
}
|
}
|
||||||
|
|
||||||
if (folderID == UUID.Zero && folder == null)
|
if (folderID == UUID.Zero && folder == null)
|
||||||
|
{
|
||||||
|
if (action == DeRezAction.Delete)
|
||||||
|
{
|
||||||
|
// Deletes go to trash by default
|
||||||
|
//
|
||||||
|
folder = InventoryService.GetFolderForType(userID, AssetType.TrashFolder);
|
||||||
|
}
|
||||||
|
else
|
||||||
{
|
{
|
||||||
// Catch all. Use lost & found
|
// 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
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue