aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim.RegionServer/Assets
diff options
context:
space:
mode:
authorMW2007-03-30 11:12:10 +0000
committerMW2007-03-30 11:12:10 +0000
commit43da7313073f99e7173eae4a3be47eca707cabf4 (patch)
treeb116499079797f0b14c23952a77df8441dba36d7 /OpenSim.RegionServer/Assets
parentShould now be able to create and edit Notecards (diff)
downloadopensim-SC-43da7313073f99e7173eae4a3be47eca707cabf4.zip
opensim-SC-43da7313073f99e7173eae4a3be47eca707cabf4.tar.gz
opensim-SC-43da7313073f99e7173eae4a3be47eca707cabf4.tar.bz2
opensim-SC-43da7313073f99e7173eae4a3be47eca707cabf4.tar.xz
Removed a few comments sent to the console
Diffstat (limited to 'OpenSim.RegionServer/Assets')
-rw-r--r--OpenSim.RegionServer/Assets/AssetCache.cs5
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