aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim.RegionServer/AgentAssetUpload.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim.RegionServer/AgentAssetUpload.cs')
-rw-r--r--OpenSim.RegionServer/AgentAssetUpload.cs6
1 files changed, 2 insertions, 4 deletions
diff --git a/OpenSim.RegionServer/AgentAssetUpload.cs b/OpenSim.RegionServer/AgentAssetUpload.cs
index 2b4d78f..5d40c88 100644
--- a/OpenSim.RegionServer/AgentAssetUpload.cs
+++ b/OpenSim.RegionServer/AgentAssetUpload.cs
@@ -20,7 +20,6 @@ namespace OpenSim
20 20
21 public void AddUpload(LLUUID transactionID, AssetBase asset) 21 public void AddUpload(LLUUID transactionID, AssetBase asset)
22 { 22 {
23 Console.WriteLine("adding upload asset");
24 AssetTransaction upload = new AssetTransaction(); 23 AssetTransaction upload = new AssetTransaction();
25 lock (this.transactions) 24 lock (this.transactions)
26 { 25 {
@@ -40,7 +39,6 @@ namespace OpenSim
40 } 39 }
41 else 40 else
42 { 41 {
43 Console.WriteLine(" no data in upload request so use xfer system");
44 upload.UploadComplete = false; 42 upload.UploadComplete = false;
45 upload.XferID = Util.GetNextXferID(); 43 upload.XferID = Util.GetNextXferID();
46 RequestXferPacket xfer = new RequestXferPacket(); 44 RequestXferPacket xfer = new RequestXferPacket();
@@ -155,7 +153,7 @@ namespace OpenSim
155 OpenSimRoot.Instance.InventoryCache.AddNewInventoryItem(this.ourClient, trans.InventFolder, trans.Asset); 153 OpenSimRoot.Instance.InventoryCache.AddNewInventoryItem(this.ourClient, trans.InventFolder, trans.Asset);
156 } 154 }
157 155
158 Console.WriteLine(Helpers.FieldToString(trans.Asset.Data)); 156
159 } 157 }
160 break; 158 break;
161 } 159 }
@@ -183,7 +181,7 @@ namespace OpenSim
183 { 181 {
184 //already complete so we can add it to the inventory 182 //already complete so we can add it to the inventory
185 OpenSimRoot.Instance.AssetCache.AddAsset(trans.Asset); 183 OpenSimRoot.Instance.AssetCache.AddAsset(trans.Asset);
186 OpenSimRoot.Instance.InventoryCache.AddNewInventoryItem(this.ourClient, packet.InventoryBlock.FolderID, trans.Asset); 184 Console.WriteLine( "ITem created is " +OpenSimRoot.Instance.InventoryCache.AddNewInventoryItem(this.ourClient, packet.InventoryBlock.FolderID, trans.Asset).ToStringHyphenated());
187 } 185 }
188 else 186 else
189 { 187 {