From e34f5edb701c82e8e6cb97f78281f966cc996db6 Mon Sep 17 00:00:00 2001 From: MW Date: Mon, 13 Aug 2007 13:37:50 +0000 Subject: Deleted some unused code. --- .../Communications/Cache/LibraryRootFolder.cs | 17 -------------- .../GridInterfaces/Local/LocalAssetServer.cs | 27 ---------------------- 2 files changed, 44 deletions(-) (limited to 'OpenSim') diff --git a/OpenSim/Framework/Communications/Cache/LibraryRootFolder.cs b/OpenSim/Framework/Communications/Cache/LibraryRootFolder.cs index 2eb59d2..6d85477 100644 --- a/OpenSim/Framework/Communications/Cache/LibraryRootFolder.cs +++ b/OpenSim/Framework/Communications/Cache/LibraryRootFolder.cs @@ -177,23 +177,6 @@ namespace OpenSim.Framework.Communications.Caches item.inventoryNextPermissions = 0; this.Items.Add(item.inventoryID, item); - /* - item = new InventoryItemBase(); - item.avatarID = libOwner; - item.creatorsID = libOwner; - item.inventoryID = new LLUUID("00000000-0000-2222-4444-000000000001"); - item.assetID = new LLUUID("00000000-0000-2222-3333-000000000001"); - item.inventoryDescription = "Welcome"; - item.inventoryName = "Welcome"; - item.assetType = 7; - item.invType = 7; - item.parentFolderID = this.folderID; - item.inventoryCurrentPermissions = (1 << 15); - item.inventoryNextPermissions = (1 << 15); - item.inventoryEveryOnePermissions = (1 << 15); - item.inventoryBasePermissions = (1 << 15); - this.Items.Add(item.inventoryID, item); - */ } private void ReadItemsFromFile(IConfigSource source) diff --git a/OpenSim/Region/GridInterfaces/Local/LocalAssetServer.cs b/OpenSim/Region/GridInterfaces/Local/LocalAssetServer.cs index eecfcaf..a1cc10a 100644 --- a/OpenSim/Region/GridInterfaces/Local/LocalAssetServer.cs +++ b/OpenSim/Region/GridInterfaces/Local/LocalAssetServer.cs @@ -280,19 +280,6 @@ namespace OpenSim.Region.GridInterfaces.Local db.Set(store); db.Commit(); - - /* - Image = new AssetBase(); - Image.FullID = new LLUUID("00000000-0000-0000-9999-000000000008"); - Image.Name = "Default Avatar Face"; - this.LoadAsset(Image, true, "femaleface.j2c"); - store = new AssetStorage(); - store.Data = Image.Data; - store.Name = Image.Name; - store.UUID = Image.FullID; - db.Set(store); - db.Commit();*/ - Image = new AssetBase(); Image.FullID = new LLUUID("77c41e39-38f9-f75a-024e-585989bbabbb"); Image.Name = "Skin"; @@ -346,20 +333,6 @@ namespace OpenSim.Region.GridInterfaces.Local db.Set(store); db.Commit(); - /*Image = new AssetBase(); - Image.FullID = new LLUUID("00000000-0000-2222-3333-000000000001"); - Image.Name = "WelcomeNote"; - Image.Type = 7; - Image.InvType = 7; - this.LoadAsset(Image, false, "welcomeNote.dat"); - store = new AssetStorage(); - store.Data = Image.Data; - store.Name = Image.Name; - store.UUID = Image.FullID; - db.Set(store); - db.Commit(); - */ - string filePath = Path.Combine(Util.configDir(), "OpenSimAssetSet.xml"); if(File.Exists(filePath)) { -- cgit v1.1