diff options
author | Justin Clark-Casey (justincc) | 2011-11-25 22:15:29 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-11-25 22:15:29 +0000 |
commit | 0688861aa72dc162a3da7b60804ac17ff5908067 (patch) | |
tree | 6a56468af2eeeb4fd825b82f89d825cfc75dcd8c /OpenSim/Region/Framework | |
parent | Fix WebFetchInventoryDescendents cap to use Utils.AssetTypeTostring/Inventory... (diff) | |
download | opensim-SC-0688861aa72dc162a3da7b60804ac17ff5908067.zip opensim-SC-0688861aa72dc162a3da7b60804ac17ff5908067.tar.gz opensim-SC-0688861aa72dc162a3da7b60804ac17ff5908067.tar.bz2 opensim-SC-0688861aa72dc162a3da7b60804ac17ff5908067.tar.xz |
Use the more extensive Utils.AssetTypeToString()/InventoryTypeToString() conversion rather than the arrays in TaskInventoryItem
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs index d80944b..daddb90 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs | |||
@@ -832,8 +832,8 @@ namespace OpenSim.Region.Framework.Scenes | |||
832 | invString.AddSectionEnd(); | 832 | invString.AddSectionEnd(); |
833 | 833 | ||
834 | invString.AddNameValueLine("asset_id", item.AssetID.ToString()); | 834 | invString.AddNameValueLine("asset_id", item.AssetID.ToString()); |
835 | invString.AddNameValueLine("type", TaskInventoryItem.Types[item.Type]); | 835 | invString.AddNameValueLine("type", Utils.AssetTypeToString((AssetType)item.Type)); |
836 | invString.AddNameValueLine("inv_type", TaskInventoryItem.InvTypes[item.InvType]); | 836 | invString.AddNameValueLine("inv_type", Utils.InventoryTypeToString((InventoryType)item.InvType)); |
837 | invString.AddNameValueLine("flags", Utils.UIntToHexString(item.Flags)); | 837 | invString.AddNameValueLine("flags", Utils.UIntToHexString(item.Flags)); |
838 | 838 | ||
839 | invString.AddSaleStart(); | 839 | invString.AddSaleStart(); |