mirror of
https://github.com/opensim/opensim.git
synced 2026-08-13 13:15:44 +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:
@@ -631,8 +631,8 @@ namespace OpenSim.Services.InventoryService
|
||||
newFolder.ParentID = folder.parentFolderID;
|
||||
newFolder.Type = (short)folder.type;
|
||||
// Viewer can't understand anything that's not in it's LLFolderType enum
|
||||
if (newFolder.Type == 100)
|
||||
newFolder.Type = -1;
|
||||
if (newFolder.Type == InventoryItemBase.SUITCASE_FOLDER_TYPE)
|
||||
newFolder.Type = InventoryItemBase.SUITCASE_FOLDER_FAKE_TYPE;
|
||||
newFolder.Version = (ushort)folder.version;
|
||||
newFolder.Name = folder.folderName;
|
||||
newFolder.Owner = folder.agentID;
|
||||
|
||||
Reference in New Issue
Block a user