aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim.RegionServer/SimClient.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim.RegionServer/SimClient.cs')
-rw-r--r--OpenSim.RegionServer/SimClient.cs6
1 files changed, 2 insertions, 4 deletions
diff --git a/OpenSim.RegionServer/SimClient.cs b/OpenSim.RegionServer/SimClient.cs
index 9411dac..0985447 100644
--- a/OpenSim.RegionServer/SimClient.cs
+++ b/OpenSim.RegionServer/SimClient.cs
@@ -357,7 +357,7 @@ namespace OpenSim
357 break; 357 break;
358 case PacketType.UpdateInventoryItem: 358 case PacketType.UpdateInventoryItem:
359 UpdateInventoryItemPacket update = (UpdateInventoryItemPacket)Pack; 359 UpdateInventoryItemPacket update = (UpdateInventoryItemPacket)Pack;
360 Console.WriteLine(Pack.ToString()); 360 //Console.WriteLine(Pack.ToString());
361 for (int i = 0; i < update.InventoryData.Length; i++) 361 for (int i = 0; i < update.InventoryData.Length; i++)
362 { 362 {
363 if (update.InventoryData[i].TransactionID != LLUUID.Zero) 363 if (update.InventoryData[i].TransactionID != LLUUID.Zero)
@@ -744,7 +744,6 @@ namespace OpenSim
744 { 744 {
745 if (packet.InventoryBlock.Type == 7) 745 if (packet.InventoryBlock.Type == 7)
746 { 746 {
747 Console.WriteLine(packet.ToString());
748 this.debug = true; 747 this.debug = true;
749 //lets try this out with creating a notecard 748 //lets try this out with creating a notecard
750 AssetBase asset = new AssetBase(); 749 AssetBase asset = new AssetBase();
@@ -754,8 +753,7 @@ namespace OpenSim
754 asset.Type = packet.InventoryBlock.Type; 753 asset.Type = packet.InventoryBlock.Type;
755 asset.FullID = LLUUID.Random(); 754 asset.FullID = LLUUID.Random();
756 asset.Data = new byte[0]; 755 asset.Data = new byte[0];
757 Console.WriteLine("created new notecard with asset : " + asset.FullID.ToStringHyphenated()); 756
758
759 m_assetCache.AddAsset(asset); 757 m_assetCache.AddAsset(asset);
760 m_inventoryCache.AddNewInventoryItem(this, packet.InventoryBlock.FolderID, asset); 758 m_inventoryCache.AddNewInventoryItem(this, packet.InventoryBlock.FolderID, asset);
761 } 759 }