diff options
Diffstat (limited to 'OpenSim.RegionServer/Assets/AssetCache.cs')
-rw-r--r-- | OpenSim.RegionServer/Assets/AssetCache.cs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/OpenSim.RegionServer/Assets/AssetCache.cs b/OpenSim.RegionServer/Assets/AssetCache.cs index 196fb57..1d5b286 100644 --- a/OpenSim.RegionServer/Assets/AssetCache.cs +++ b/OpenSim.RegionServer/Assets/AssetCache.cs | |||
@@ -329,7 +329,6 @@ namespace OpenSim.Assets | |||
329 | /// <param name="transferRequest"></param> | 329 | /// <param name="transferRequest"></param> |
330 | public void AddAssetRequest(SimClient userInfo, TransferRequestPacket transferRequest) | 330 | public void AddAssetRequest(SimClient userInfo, TransferRequestPacket transferRequest) |
331 | { | 331 | { |
332 | Console.WriteLine("AssetCache- got asset request: " + transferRequest.TransferInfo.TransferID.ToString()); | ||
333 | LLUUID requestID = new LLUUID(transferRequest.TransferInfo.Params, 0); | 332 | LLUUID requestID = new LLUUID(transferRequest.TransferInfo.Params, 0); |
334 | //check to see if asset is in local cache, if not we need to request it from asset server. | 333 | //check to see if asset is in local cache, if not we need to request it from asset server. |
335 | if (!this.Assets.ContainsKey(requestID)) | 334 | if (!this.Assets.ContainsKey(requestID)) |
@@ -338,7 +337,6 @@ namespace OpenSim.Assets | |||
338 | // so request from asset server | 337 | // so request from asset server |
339 | if (!this.RequestedAssets.ContainsKey(requestID)) | 338 | if (!this.RequestedAssets.ContainsKey(requestID)) |
340 | { | 339 | { |
341 | Console.WriteLine("which isn't in our cache, so requesting from asset server"); | ||
342 | AssetRequest request = new AssetRequest(); | 340 | AssetRequest request = new AssetRequest(); |
343 | request.RequestUser = userInfo; | 341 | request.RequestUser = userInfo; |
344 | request.RequestAssetID = requestID; | 342 | request.RequestAssetID = requestID; |
@@ -349,8 +347,7 @@ namespace OpenSim.Assets | |||
349 | return; | 347 | return; |
350 | } | 348 | } |
351 | //it is in our cache | 349 | //it is in our cache |
352 | Console.WriteLine("which is in our cache so will be sending it"); | 350 | AssetInfo asset = this.Assets[requestID]; |
353 | AssetInfo asset = this.Assets[requestID]; | ||
354 | 351 | ||
355 | //work out how many packets it should be sent in | 352 | //work out how many packets it should be sent in |
356 | // and add to the AssetRequests list | 353 | // and add to the AssetRequests list |