mirror of
https://github.com/opensim/opensim.git
synced 2026-08-13 05:05:43 +08:00
add folder Materials to new users inventory
This commit is contained in:
@@ -153,6 +153,8 @@ namespace OpenSim.Services.InventoryService
|
||||
CreateFolder(principalID, rootFolder.ID, (int)FolderType.Trash, "Trash");
|
||||
if (!Array.Exists(sysFolders, delegate (XInventoryFolder f) { if (f.type == (int)FolderType.Settings) return true; return false; }))
|
||||
CreateFolder(principalID, rootFolder.ID, (int)FolderType.Settings, "Settings");
|
||||
if (!Array.Exists(sysFolders, delegate (XInventoryFolder f) { if (f.type == (int)FolderType.Material) return true; return false; }))
|
||||
CreateFolder(principalID, rootFolder.ID, (int)FolderType.Material, "Materials");
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user