diff options
author | Jeff Ames | 2007-11-18 13:50:46 +0000 |
---|---|---|
committer | Jeff Ames | 2007-11-18 13:50:46 +0000 |
commit | d10c79d4216436fd2a5056dbf853f317967202af (patch) | |
tree | 2474bfe5d0f56f624a19ff112807233e5e335f08 /OpenSim/Framework/Communications/Cache/LibraryRootFolder.cs | |
parent | * Found several cases where prim set physical were not subscribing to physics... (diff) | |
download | opensim-SC_OLD-d10c79d4216436fd2a5056dbf853f317967202af.zip opensim-SC_OLD-d10c79d4216436fd2a5056dbf853f317967202af.tar.gz opensim-SC_OLD-d10c79d4216436fd2a5056dbf853f317967202af.tar.bz2 opensim-SC_OLD-d10c79d4216436fd2a5056dbf853f317967202af.tar.xz |
first stab at implementation of CopyInventoryItem
Diffstat (limited to 'OpenSim/Framework/Communications/Cache/LibraryRootFolder.cs')
-rw-r--r-- | OpenSim/Framework/Communications/Cache/LibraryRootFolder.cs | 31 |
1 files changed, 18 insertions, 13 deletions
diff --git a/OpenSim/Framework/Communications/Cache/LibraryRootFolder.cs b/OpenSim/Framework/Communications/Cache/LibraryRootFolder.cs index 05caa84..62251bc 100644 --- a/OpenSim/Framework/Communications/Cache/LibraryRootFolder.cs +++ b/OpenSim/Framework/Communications/Cache/LibraryRootFolder.cs | |||
@@ -88,7 +88,8 @@ namespace OpenSim.Framework.Communications.Cache | |||
88 | item.assetID = new LLUUID("00000000-0000-0000-9999-000000000002"); | 88 | item.assetID = new LLUUID("00000000-0000-0000-9999-000000000002"); |
89 | item.inventoryDescription = "Plywood texture"; | 89 | item.inventoryDescription = "Plywood texture"; |
90 | item.inventoryName = "Plywood"; | 90 | item.inventoryName = "Plywood"; |
91 | item.assetType = 0; | 91 | item.assetType = (int) AssetType.Texture; |
92 | item.invType = (int) InventoryType.Texture; | ||
92 | item.parentFolderID = m_textureFolder.folderID; | 93 | item.parentFolderID = m_textureFolder.folderID; |
93 | item.inventoryBasePermissions = 0x7FFFFFFF; | 94 | item.inventoryBasePermissions = 0x7FFFFFFF; |
94 | item.inventoryEveryOnePermissions = 0x7FFFFFFF; | 95 | item.inventoryEveryOnePermissions = 0x7FFFFFFF; |
@@ -103,7 +104,8 @@ namespace OpenSim.Framework.Communications.Cache | |||
103 | item.assetID = new LLUUID("00000000-0000-0000-9999-000000000003"); | 104 | item.assetID = new LLUUID("00000000-0000-0000-9999-000000000003"); |
104 | item.inventoryDescription = "Rocks texture"; | 105 | item.inventoryDescription = "Rocks texture"; |
105 | item.inventoryName = "Rocks"; | 106 | item.inventoryName = "Rocks"; |
106 | item.assetType = 0; | 107 | item.assetType = (int) AssetType.Texture; |
108 | item.invType = (int) InventoryType.Texture; | ||
107 | item.parentFolderID = m_textureFolder.folderID; | 109 | item.parentFolderID = m_textureFolder.folderID; |
108 | item.inventoryBasePermissions = 0x7FFFFFFF; | 110 | item.inventoryBasePermissions = 0x7FFFFFFF; |
109 | item.inventoryEveryOnePermissions = 0x7FFFFFFF; | 111 | item.inventoryEveryOnePermissions = 0x7FFFFFFF; |
@@ -118,7 +120,8 @@ namespace OpenSim.Framework.Communications.Cache | |||
118 | item.assetID = new LLUUID("00000000-0000-0000-9999-000000000001"); | 120 | item.assetID = new LLUUID("00000000-0000-0000-9999-000000000001"); |
119 | item.inventoryDescription = "Bricks texture"; | 121 | item.inventoryDescription = "Bricks texture"; |
120 | item.inventoryName = "Bricks"; | 122 | item.inventoryName = "Bricks"; |
121 | item.assetType = 0; | 123 | item.assetType = (int) AssetType.Texture; |
124 | item.invType = (int) InventoryType.Texture; | ||
122 | item.parentFolderID = m_textureFolder.folderID; | 125 | item.parentFolderID = m_textureFolder.folderID; |
123 | item.inventoryBasePermissions = 0x7FFFFFFF; | 126 | item.inventoryBasePermissions = 0x7FFFFFFF; |
124 | item.inventoryEveryOnePermissions = 0x7FFFFFFF; | 127 | item.inventoryEveryOnePermissions = 0x7FFFFFFF; |
@@ -133,7 +136,8 @@ namespace OpenSim.Framework.Communications.Cache | |||
133 | item.assetID = new LLUUID("00000000-0000-0000-9999-000000000004"); | 136 | item.assetID = new LLUUID("00000000-0000-0000-9999-000000000004"); |
134 | item.inventoryDescription = "Granite texture"; | 137 | item.inventoryDescription = "Granite texture"; |
135 | item.inventoryName = "Granite"; | 138 | item.inventoryName = "Granite"; |
136 | item.assetType = 0; | 139 | item.assetType = (int) AssetType.Texture; |
140 | item.invType = (int) InventoryType.Texture; | ||
137 | item.parentFolderID = m_textureFolder.folderID; | 141 | item.parentFolderID = m_textureFolder.folderID; |
138 | item.inventoryBasePermissions = 0x7FFFFFFF; | 142 | item.inventoryBasePermissions = 0x7FFFFFFF; |
139 | item.inventoryEveryOnePermissions = 0x7FFFFFFF; | 143 | item.inventoryEveryOnePermissions = 0x7FFFFFFF; |
@@ -148,7 +152,8 @@ namespace OpenSim.Framework.Communications.Cache | |||
148 | item.assetID = new LLUUID("00000000-0000-0000-9999-000000000005"); | 152 | item.assetID = new LLUUID("00000000-0000-0000-9999-000000000005"); |
149 | item.inventoryDescription = "Hardwood texture"; | 153 | item.inventoryDescription = "Hardwood texture"; |
150 | item.inventoryName = "Hardwood"; | 154 | item.inventoryName = "Hardwood"; |
151 | item.assetType = 0; | 155 | item.assetType = (int) AssetType.Texture; |
156 | item.invType = (int) InventoryType.Texture; | ||
152 | item.parentFolderID = m_textureFolder.folderID; | 157 | item.parentFolderID = m_textureFolder.folderID; |
153 | item.inventoryBasePermissions = 0x7FFFFFFF; | 158 | item.inventoryBasePermissions = 0x7FFFFFFF; |
154 | item.inventoryEveryOnePermissions = 0x7FFFFFFF; | 159 | item.inventoryEveryOnePermissions = 0x7FFFFFFF; |
@@ -163,8 +168,8 @@ namespace OpenSim.Framework.Communications.Cache | |||
163 | item.assetID = new LLUUID("66c41e39-38f9-f75a-024e-585989bfab73"); | 168 | item.assetID = new LLUUID("66c41e39-38f9-f75a-024e-585989bfab73"); |
164 | item.inventoryDescription = "Default Shape"; | 169 | item.inventoryDescription = "Default Shape"; |
165 | item.inventoryName = "Default Shape"; | 170 | item.inventoryName = "Default Shape"; |
166 | item.assetType = 13; | 171 | item.assetType = (int) AssetType.Bodypart; |
167 | item.invType = 18; | 172 | item.invType = (int) InventoryType.Wearable; |
168 | item.parentFolderID = folderID; | 173 | item.parentFolderID = folderID; |
169 | item.inventoryCurrentPermissions = 0; | 174 | item.inventoryCurrentPermissions = 0; |
170 | item.inventoryNextPermissions = 0; | 175 | item.inventoryNextPermissions = 0; |
@@ -177,8 +182,8 @@ namespace OpenSim.Framework.Communications.Cache | |||
177 | item.assetID = new LLUUID("77c41e39-38f9-f75a-024e-585989bbabbb"); | 182 | item.assetID = new LLUUID("77c41e39-38f9-f75a-024e-585989bbabbb"); |
178 | item.inventoryDescription = "Default Skin"; | 183 | item.inventoryDescription = "Default Skin"; |
179 | item.inventoryName = "Default Skin"; | 184 | item.inventoryName = "Default Skin"; |
180 | item.assetType = 13; | 185 | item.assetType = (int) AssetType.Bodypart; |
181 | item.invType = 18; | 186 | item.invType = (int) InventoryType.Wearable; |
182 | item.parentFolderID = folderID; | 187 | item.parentFolderID = folderID; |
183 | item.inventoryCurrentPermissions = 0; | 188 | item.inventoryCurrentPermissions = 0; |
184 | item.inventoryNextPermissions = 0; | 189 | item.inventoryNextPermissions = 0; |
@@ -191,8 +196,8 @@ namespace OpenSim.Framework.Communications.Cache | |||
191 | item.assetID = new LLUUID("00000000-38f9-1111-024e-222222111110"); | 196 | item.assetID = new LLUUID("00000000-38f9-1111-024e-222222111110"); |
192 | item.inventoryDescription = "Default Shirt"; | 197 | item.inventoryDescription = "Default Shirt"; |
193 | item.inventoryName = "Default Shirt"; | 198 | item.inventoryName = "Default Shirt"; |
194 | item.assetType = 5; | 199 | item.assetType = (int) AssetType.Clothing; |
195 | item.invType = 18; | 200 | item.invType = (int) InventoryType.Wearable; |
196 | item.parentFolderID = folderID; | 201 | item.parentFolderID = folderID; |
197 | item.inventoryCurrentPermissions = 0; | 202 | item.inventoryCurrentPermissions = 0; |
198 | item.inventoryNextPermissions = 0; | 203 | item.inventoryNextPermissions = 0; |
@@ -205,8 +210,8 @@ namespace OpenSim.Framework.Communications.Cache | |||
205 | item.assetID = new LLUUID("00000000-38f9-1111-024e-222222111120"); | 210 | item.assetID = new LLUUID("00000000-38f9-1111-024e-222222111120"); |
206 | item.inventoryDescription = "Default Pants"; | 211 | item.inventoryDescription = "Default Pants"; |
207 | item.inventoryName = "Default Pants"; | 212 | item.inventoryName = "Default Pants"; |
208 | item.assetType = 5; | 213 | item.assetType = (int) AssetType.Clothing; |
209 | item.invType = 18; | 214 | item.invType = (int) InventoryType.Wearable; |
210 | item.parentFolderID = folderID; | 215 | item.parentFolderID = folderID; |
211 | item.inventoryCurrentPermissions = 0; | 216 | item.inventoryCurrentPermissions = 0; |
212 | item.inventoryNextPermissions = 0; | 217 | item.inventoryNextPermissions = 0; |