From 3d4005dd4fccbf90a9e8c19e56f104bfa908c8c0 Mon Sep 17 00:00:00 2001 From: Drake Arconis Date: Wed, 5 Aug 2015 11:38:32 -0400 Subject: [PATCH] Minor touchups to the foldertype commit. Missed unstaged files. --- .../TestClient/Commands/Inventory/DeleteFolderCommand.cs | 2 +- .../examples/TestClient/Commands/Prims/DeRezObjectCommand.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; }