Use correct folder type ids instead of asset ids for inventory folders

This corrects a severe error where as AssetTypes were being reused for
the Folder FolderType id resulting in invalid ids for various system
folder types causing inventory validation issues from within the SL
viewer.
This commit is contained in:
Drake Arconis
2015-08-05 02:29:16 -04:00
committed by Latif Khalifa
parent a64a710376
commit 82fd0133ad
8 changed files with 269 additions and 95 deletions

View File

@@ -1070,10 +1070,10 @@ namespace OpenMetaverse.Packets
private static string DecodeFolderType(string fieldName, object fieldData)
{
return String.Format("{0,30}: {1,-2} {2,-37} [AssetType]",
return String.Format("{0,30}: {1,-2} {2,-37} [Folderype]",
fieldName,
(sbyte)fieldData,
"(" + (AssetType)fieldData + ")");
"(" + (FolderType)fieldData + ")");
}
private static string DecodeInventoryFlags(string fieldName, object fieldData)