diff options
author | Melanie | 2009-09-13 18:24:00 +0100 |
---|---|---|
committer | Melanie | 2009-09-13 18:24:00 +0100 |
commit | efc43aa0d90e7e35408e7eb7fd475eaa3c3b0a31 (patch) | |
tree | 058020fcbae2e621ac8d5368f5e1982e4a688bda /OpenSim | |
parent | Merge branch 'master' of ssh://MyConnection/var/git/opensim (diff) | |
download | opensim-SC_OLD-efc43aa0d90e7e35408e7eb7fd475eaa3c3b0a31.zip opensim-SC_OLD-efc43aa0d90e7e35408e7eb7fd475eaa3c3b0a31.tar.gz opensim-SC_OLD-efc43aa0d90e7e35408e7eb7fd475eaa3c3b0a31.tar.bz2 opensim-SC_OLD-efc43aa0d90e7e35408e7eb7fd475eaa3c3b0a31.tar.xz |
Change the type value for given folders to -1. Prevents inventory blowups
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs index 4ea283f..eb397f6 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | |||
@@ -1136,7 +1136,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1136 | 1136 | ||
1137 | UUID newFolderID = UUID.Random(); | 1137 | UUID newFolderID = UUID.Random(); |
1138 | 1138 | ||
1139 | InventoryFolderBase newFolder = new InventoryFolderBase(newFolderID, category, destID, 0xff, rootFolder.ID, rootFolder.Version); | 1139 | InventoryFolderBase newFolder = new InventoryFolderBase(newFolderID, category, destID, -1, rootFolder.ID, rootFolder.Version); |
1140 | InventoryService.AddFolder(newFolder); | 1140 | InventoryService.AddFolder(newFolder); |
1141 | 1141 | ||
1142 | foreach (UUID itemID in items) | 1142 | foreach (UUID itemID in items) |