* Removed some legacy commenting
parent
aa12787a17
commit
e04ce96cee
|
@ -67,52 +67,8 @@ namespace OpenSim.Framework.Communications.Cache
|
||||||
libraryFolders.Add(ID, this);
|
libraryFolders.Add(ID, this);
|
||||||
|
|
||||||
LoadLibraries(Path.Combine(Util.inventoryDir(), "Libraries.xml"));
|
LoadLibraries(Path.Combine(Util.inventoryDir(), "Libraries.xml"));
|
||||||
|
|
||||||
// CreateLibraryItems();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Hardcoded item creation. Please don't add any more items here - future items should be created
|
|
||||||
/// in the xml in the bin/inventory folder.
|
|
||||||
/// </summary>
|
|
||||||
///
|
|
||||||
/// 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,
|
public InventoryItemBase CreateItem(UUID inventoryID, UUID assetID, string name, string description,
|
||||||
int assetType, int invType, UUID parentFolderID)
|
int assetType, int invType, UUID parentFolderID)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue