Deleted some unused code.

afrisby
MW 2007-08-13 13:37:50 +00:00
parent b59d9789f8
commit e34f5edb70
2 changed files with 0 additions and 44 deletions

View File

@ -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)

View File

@ -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))
{