Change the type value for given folders to -1. Prevents inventory blowups

remotes/origin/0.6.7-post-fixes
Melanie 2009-09-13 18:24:00 +01:00
parent fe4f312d55
commit efc43aa0d9
1 changed files with 1 additions and 1 deletions

View File

@ -1136,7 +1136,7 @@ namespace OpenSim.Region.Framework.Scenes
UUID newFolderID = UUID.Random(); UUID newFolderID = UUID.Random();
InventoryFolderBase newFolder = new InventoryFolderBase(newFolderID, category, destID, 0xff, rootFolder.ID, rootFolder.Version); InventoryFolderBase newFolder = new InventoryFolderBase(newFolderID, category, destID, -1, rootFolder.ID, rootFolder.Version);
InventoryService.AddFolder(newFolder); InventoryService.AddFolder(newFolder);
foreach (UUID itemID in items) foreach (UUID itemID in items)