mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
- When sending the "My Suitcase" folder to the client, always claim it has Folder Type 8. (Previously we had used Folder Type -1 in one place, and LLClientView didn't even bother changing Folder Type 100 to anything else.)
This commit is contained in:
@@ -1761,6 +1761,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||
newBlock.Name = Util.StringToBytes256(folder.Name);
|
||||
newBlock.ParentID = folder.ParentID;
|
||||
newBlock.Type = (sbyte)folder.Type;
|
||||
if (newBlock.Type == InventoryItemBase.SUITCASE_FOLDER_TYPE)
|
||||
newBlock.Type = InventoryItemBase.SUITCASE_FOLDER_FAKE_TYPE;
|
||||
|
||||
return newBlock;
|
||||
}
|
||||
@@ -2010,8 +2012,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||
|
||||
folderBlock.FolderID = folder.ID;
|
||||
folderBlock.ParentID = folder.ParentID;
|
||||
//folderBlock.Type = -1;
|
||||
folderBlock.Type = (sbyte)folder.Type;
|
||||
if (folderBlock.Type == InventoryItemBase.SUITCASE_FOLDER_TYPE)
|
||||
folderBlock.Type = InventoryItemBase.SUITCASE_FOLDER_FAKE_TYPE;
|
||||
folderBlock.Name = Util.StringToBytes256(folder.Name);
|
||||
|
||||
return folderBlock;
|
||||
|
||||
Reference in New Issue
Block a user