From e04ce96cee58a25f48ef3695d7a8566eb6406c57 Mon Sep 17 00:00:00 2001 From: lbsa71 Date: Thu, 11 Sep 2008 11:41:52 +0000 Subject: * Removed some legacy commenting --- .../Communications/Cache/LibraryRootFolder.cs | 44 ---------------------- 1 file changed, 44 deletions(-) (limited to 'OpenSim/Framework/Communications/Cache/LibraryRootFolder.cs') diff --git a/OpenSim/Framework/Communications/Cache/LibraryRootFolder.cs b/OpenSim/Framework/Communications/Cache/LibraryRootFolder.cs index 88047c2..a33fa67 100644 --- a/OpenSim/Framework/Communications/Cache/LibraryRootFolder.cs +++ b/OpenSim/Framework/Communications/Cache/LibraryRootFolder.cs @@ -67,52 +67,8 @@ namespace OpenSim.Framework.Communications.Cache libraryFolders.Add(ID, this); LoadLibraries(Path.Combine(Util.inventoryDir(), "Libraries.xml")); - - // CreateLibraryItems(); } - /// - /// Hardcoded item creation. Please don't add any more items here - future items should be created - /// in the xml in the bin/inventory folder. - /// - /// - /// Commented the following out due to sending it all through xml, remove this section once this is provin to work stable. - /// - //private void CreateLibraryItems() - //{ - // InventoryItemBase item = - // CreateItem(new UUID("66c41e39-38f9-f75a-024e-585989bfaba9"), - // new UUID("66c41e39-38f9-f75a-024e-585989bfab73"), "Default Shape", "Default Shape", - // (int) AssetType.Bodypart, (int) InventoryType.Wearable, folderID); - // item.inventoryCurrentPermissions = 0; - // item.inventoryNextPermissions = 0; - // Items.Add(item.inventoryID, item); - - // item = - // CreateItem(new UUID("77c41e39-38f9-f75a-024e-585989bfabc9"), - // new UUID("77c41e39-38f9-f75a-024e-585989bbabbb"), "Default Skin", "Default Skin", - // (int) AssetType.Bodypart, (int) InventoryType.Wearable, folderID); - // item.inventoryCurrentPermissions = 0; - // item.inventoryNextPermissions = 0; - // Items.Add(item.inventoryID, item); - - // item = - // CreateItem(new UUID("77c41e39-38f9-f75a-0000-585989bf0000"), - // new UUID("00000000-38f9-1111-024e-222222111110"), "Default Shirt", "Default Shirt", - // (int) AssetType.Clothing, (int) InventoryType.Wearable, folderID); - // item.inventoryCurrentPermissions = 0; - // item.inventoryNextPermissions = 0; - // Items.Add(item.inventoryID, item); - - // item = - // CreateItem(new UUID("77c41e39-38f9-f75a-0000-5859892f1111"), - // new UUID("00000000-38f9-1111-024e-222222111120"), "Default Pants", "Default Pants", - // (int) AssetType.Clothing, (int) InventoryType.Wearable, folderID); - // item.inventoryCurrentPermissions = 0; - // item.inventoryNextPermissions = 0; - // Items.Add(item.inventoryID, item); - //} - public InventoryItemBase CreateItem(UUID inventoryID, UUID assetID, string name, string description, int assetType, int invType, UUID parentFolderID) { -- cgit v1.1