Change the type value for given folders to -1. Prevents inventory blowups
parent
fe4f312d55
commit
efc43aa0d9
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue