diff options
-rw-r--r-- | OpenSim/Framework/Communications/Cache/LibraryRootFolder.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Framework/Communications/Cache/LibraryRootFolder.cs b/OpenSim/Framework/Communications/Cache/LibraryRootFolder.cs index ca7eb13..1ff6350 100644 --- a/OpenSim/Framework/Communications/Cache/LibraryRootFolder.cs +++ b/OpenSim/Framework/Communications/Cache/LibraryRootFolder.cs | |||
@@ -208,12 +208,12 @@ namespace OpenSim.Framework.Communications.Cache | |||
208 | item.Owner = libOwner; | 208 | item.Owner = libOwner; |
209 | item.Creator = libOwner; | 209 | item.Creator = libOwner; |
210 | item.ID = new LLUUID(config.GetString("inventoryID", ID.ToString())); | 210 | item.ID = new LLUUID(config.GetString("inventoryID", ID.ToString())); |
211 | item.AssetID = new LLUUID(config.GetString("assetID", LLUUID.Random().ToString())); | 211 | item.AssetID = new LLUUID(config.GetString("assetID", item.ID.ToString())); |
212 | item.Folder = new LLUUID(config.GetString("folderID", ID.ToString())); | 212 | item.Folder = new LLUUID(config.GetString("folderID", ID.ToString())); |
213 | item.Description = config.GetString("description", String.Empty); | ||
214 | item.Name = config.GetString("name", String.Empty); | 213 | item.Name = config.GetString("name", String.Empty); |
215 | item.AssetType = config.GetInt("assetType", 0); | 214 | item.Description = config.GetString("description", item.Name); |
216 | item.InvType = config.GetInt("inventoryType", 0); | 215 | item.InvType = config.GetInt("inventoryType", 0); |
216 | item.AssetType = config.GetInt("assetType", item.InvType); | ||
217 | item.CurrentPermissions = (uint)config.GetLong("currentPermissions", 0x7FFFFFFF); | 217 | item.CurrentPermissions = (uint)config.GetLong("currentPermissions", 0x7FFFFFFF); |
218 | item.NextPermissions = (uint)config.GetLong("nextPermissions", 0x7FFFFFFF); | 218 | item.NextPermissions = (uint)config.GetLong("nextPermissions", 0x7FFFFFFF); |
219 | item.EveryOnePermissions = (uint)config.GetLong("everyonePermissions", 0x7FFFFFFF); | 219 | item.EveryOnePermissions = (uint)config.GetLong("everyonePermissions", 0x7FFFFFFF); |