diff --git a/Programs/examples/TestClient/Commands/Inventory/DeleteFolderCommand.cs b/Programs/examples/TestClient/Commands/Inventory/DeleteFolderCommand.cs index ad3c82f7..ea8b357a 100644 --- a/Programs/examples/TestClient/Commands/Inventory/DeleteFolderCommand.cs +++ b/Programs/examples/TestClient/Commands/Inventory/DeleteFolderCommand.cs @@ -38,7 +38,7 @@ namespace OpenMetaverse.TestClient if (found.Count.Equals(1)) { // move the folder to the trash folder - Client.Inventory.MoveFolder(found[0].UUID, Client.Inventory.FindFolderForType(AssetType.TrashFolder)); + Client.Inventory.MoveFolder(found[0].UUID, Client.Inventory.FindFolderForType(FolderType.Trash)); return String.Format("Moved folder {0} to Trash", found[0].Name); } diff --git a/Programs/examples/TestClient/Commands/Prims/DeRezObjectCommand.cs b/Programs/examples/TestClient/Commands/Prims/DeRezObjectCommand.cs index a0ded0a9..6258cf25 100644 --- a/Programs/examples/TestClient/Commands/Prims/DeRezObjectCommand.cs +++ b/Programs/examples/TestClient/Commands/Prims/DeRezObjectCommand.cs @@ -29,7 +29,7 @@ namespace OpenMetaverse.TestClient { uint objectLocalID = target.LocalID; Client.Inventory.RequestDeRezToInventory(objectLocalID, DeRezDestination.AgentInventoryTake, - Client.Inventory.FindFolderForType(AssetType.TrashFolder), + Client.Inventory.FindFolderForType(FolderType.Trash), UUID.Random()); return "removing " + target; }