aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorlbsa712008-09-11 11:41:52 +0000
committerlbsa712008-09-11 11:41:52 +0000
commite04ce96cee58a25f48ef3695d7a8566eb6406c57 (patch)
treeba0f97b1a7a9529c68fbea5c57f8a13cde857e5e
parent* Added small convenience function to recursively calculate total amounts of ... (diff)
downloadopensim-SC_OLD-e04ce96cee58a25f48ef3695d7a8566eb6406c57.zip
opensim-SC_OLD-e04ce96cee58a25f48ef3695d7a8566eb6406c57.tar.gz
opensim-SC_OLD-e04ce96cee58a25f48ef3695d7a8566eb6406c57.tar.bz2
opensim-SC_OLD-e04ce96cee58a25f48ef3695d7a8566eb6406c57.tar.xz
* Removed some legacy commenting
-rw-r--r--OpenSim/Framework/Communications/Cache/LibraryRootFolder.cs44
1 files changed, 0 insertions, 44 deletions
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
67 libraryFolders.Add(ID, this); 67 libraryFolders.Add(ID, this);
68 68
69 LoadLibraries(Path.Combine(Util.inventoryDir(), "Libraries.xml")); 69 LoadLibraries(Path.Combine(Util.inventoryDir(), "Libraries.xml"));
70
71 // CreateLibraryItems();
72 } 70 }
73 71
74 /// <summary>
75 /// Hardcoded item creation. Please don't add any more items here - future items should be created
76 /// in the xml in the bin/inventory folder.
77 /// </summary>
78 ///
79 /// Commented the following out due to sending it all through xml, remove this section once this is provin to work stable.
80 ///
81 //private void CreateLibraryItems()
82 //{
83 // InventoryItemBase item =
84 // CreateItem(new UUID("66c41e39-38f9-f75a-024e-585989bfaba9"),
85 // new UUID("66c41e39-38f9-f75a-024e-585989bfab73"), "Default Shape", "Default Shape",
86 // (int) AssetType.Bodypart, (int) InventoryType.Wearable, folderID);
87 // item.inventoryCurrentPermissions = 0;
88 // item.inventoryNextPermissions = 0;
89 // Items.Add(item.inventoryID, item);
90
91 // item =
92 // CreateItem(new UUID("77c41e39-38f9-f75a-024e-585989bfabc9"),
93 // new UUID("77c41e39-38f9-f75a-024e-585989bbabbb"), "Default Skin", "Default Skin",
94 // (int) AssetType.Bodypart, (int) InventoryType.Wearable, folderID);
95 // item.inventoryCurrentPermissions = 0;
96 // item.inventoryNextPermissions = 0;
97 // Items.Add(item.inventoryID, item);
98
99 // item =
100 // CreateItem(new UUID("77c41e39-38f9-f75a-0000-585989bf0000"),
101 // new UUID("00000000-38f9-1111-024e-222222111110"), "Default Shirt", "Default Shirt",
102 // (int) AssetType.Clothing, (int) InventoryType.Wearable, folderID);
103 // item.inventoryCurrentPermissions = 0;
104 // item.inventoryNextPermissions = 0;
105 // Items.Add(item.inventoryID, item);
106
107 // item =
108 // CreateItem(new UUID("77c41e39-38f9-f75a-0000-5859892f1111"),
109 // new UUID("00000000-38f9-1111-024e-222222111120"), "Default Pants", "Default Pants",
110 // (int) AssetType.Clothing, (int) InventoryType.Wearable, folderID);
111 // item.inventoryCurrentPermissions = 0;
112 // item.inventoryNextPermissions = 0;
113 // Items.Add(item.inventoryID, item);
114 //}
115
116 public InventoryItemBase CreateItem(UUID inventoryID, UUID assetID, string name, string description, 72 public InventoryItemBase CreateItem(UUID inventoryID, UUID assetID, string name, string description,
117 int assetType, int invType, UUID parentFolderID) 73 int assetType, int invType, UUID parentFolderID)
118 { 74 {