From 0688861aa72dc162a3da7b60804ac17ff5908067 Mon Sep 17 00:00:00 2001
From: Justin Clark-Casey (justincc)
Date: Fri, 25 Nov 2011 22:15:29 +0000
Subject: Use the more extensive
Utils.AssetTypeToString()/InventoryTypeToString() conversion rather than the
arrays in TaskInventoryItem
---
OpenSim/Framework/TaskInventoryItem.cs | 57 ----------------------------------
1 file changed, 57 deletions(-)
(limited to 'OpenSim/Framework/TaskInventoryItem.cs')
diff --git a/OpenSim/Framework/TaskInventoryItem.cs b/OpenSim/Framework/TaskInventoryItem.cs
index 30d775c..ba2a306 100644
--- a/OpenSim/Framework/TaskInventoryItem.cs
+++ b/OpenSim/Framework/TaskInventoryItem.cs
@@ -40,63 +40,6 @@ namespace OpenSim.Framework
///
private const uint FULL_MASK_PERMISSIONS_GENERAL = 2147483647;
- ///
- /// Inventory types
- ///
- public static string[] InvTypes = new string[]
- {
- "texture",
- "sound",
- "calling_card",
- "landmark",
- String.Empty,
- String.Empty,
- "object",
- "notecard",
- String.Empty,
- String.Empty,
- "lsl_text",
- String.Empty,
- String.Empty,
- "bodypart",
- String.Empty,
- "snapshot",
- String.Empty,
- String.Empty,
- "wearable",
- "animation",
- "gesture"
- };
-
- ///
- /// Asset types
- ///
- public static string[] Types = new string[]
- {
- "texture",
- "sound",
- "callcard",
- "landmark",
- "clothing", // Deprecated
- "clothing",
- "object",
- "notecard",
- "category",
- "root",
- "lsltext",
- "lslbyte",
- "txtr_tga",
- "bodypart",
- "trash",
- "snapshot",
- "lstndfnd",
- "snd_wav",
- "img_tga",
- "jpeg",
- "animatn",
- "gesture"
- };
-
private UUID _assetID = UUID.Zero;
private uint _baseMask = FULL_MASK_PERMISSIONS_GENERAL;
--
cgit v1.1