diff options
author | Oren Hurvitz | 2014-05-04 13:36:36 +0300 |
---|---|---|
committer | Oren Hurvitz | 2014-05-06 07:16:37 +0100 |
commit | 0fe08c8799b1a3a2d5a07c206c2f9680d1c0798e (patch) | |
tree | 680f0d84eb83f1e4924d8b26ebed7bec5755d029 /OpenSim/Services/InventoryService | |
parent | Added range-checking for the parameters to PRIM_POINT_LIGHT (used in llSetLin... (diff) | |
download | opensim-SC_OLD-0fe08c8799b1a3a2d5a07c206c2f9680d1c0798e.zip opensim-SC_OLD-0fe08c8799b1a3a2d5a07c206c2f9680d1c0798e.tar.gz opensim-SC_OLD-0fe08c8799b1a3a2d5a07c206c2f9680d1c0798e.tar.bz2 opensim-SC_OLD-0fe08c8799b1a3a2d5a07c206c2f9680d1c0798e.tar.xz |
- 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.)
Diffstat (limited to 'OpenSim/Services/InventoryService')
-rw-r--r-- | OpenSim/Services/InventoryService/XInventoryService.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Services/InventoryService/XInventoryService.cs b/OpenSim/Services/InventoryService/XInventoryService.cs index 3bee433..7c16ca9 100644 --- a/OpenSim/Services/InventoryService/XInventoryService.cs +++ b/OpenSim/Services/InventoryService/XInventoryService.cs | |||
@@ -631,8 +631,8 @@ namespace OpenSim.Services.InventoryService | |||
631 | newFolder.ParentID = folder.parentFolderID; | 631 | newFolder.ParentID = folder.parentFolderID; |
632 | newFolder.Type = (short)folder.type; | 632 | newFolder.Type = (short)folder.type; |
633 | // Viewer can't understand anything that's not in it's LLFolderType enum | 633 | // Viewer can't understand anything that's not in it's LLFolderType enum |
634 | if (newFolder.Type == 100) | 634 | if (newFolder.Type == InventoryItemBase.SUITCASE_FOLDER_TYPE) |
635 | newFolder.Type = -1; | 635 | newFolder.Type = InventoryItemBase.SUITCASE_FOLDER_FAKE_TYPE; |
636 | newFolder.Version = (ushort)folder.version; | 636 | newFolder.Version = (ushort)folder.version; |
637 | newFolder.Name = folder.folderName; | 637 | newFolder.Name = folder.folderName; |
638 | newFolder.Owner = folder.agentID; | 638 | newFolder.Owner = folder.agentID; |