diff options
Fixed name quotes bug
Diffstat (limited to 'OpenSim.RegionServer/AgentAssetUpload.cs')
-rw-r--r-- | OpenSim.RegionServer/AgentAssetUpload.cs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/OpenSim.RegionServer/AgentAssetUpload.cs b/OpenSim.RegionServer/AgentAssetUpload.cs index d346647..dae2191 100644 --- a/OpenSim.RegionServer/AgentAssetUpload.cs +++ b/OpenSim.RegionServer/AgentAssetUpload.cs | |||
@@ -89,7 +89,7 @@ namespace OpenSim | |||
89 | 89 | ||
90 | asset = new AssetBase(); | 90 | asset = new AssetBase(); |
91 | asset.FullID = assetID; | 91 | asset.FullID = assetID; |
92 | Console.WriteLine("skin asset id is " + assetID.ToStringHyphenated()); | 92 | // Console.WriteLine("skin asset id is " + assetID.ToStringHyphenated()); |
93 | asset.Type = pack.AssetBlock.Type; | 93 | asset.Type = pack.AssetBlock.Type; |
94 | asset.InvType = asset.Type; | 94 | asset.InvType = asset.Type; |
95 | asset.Name = "NewClothing" + Util.RandomClass.Next(1, 1000).ToString("000"); | 95 | asset.Name = "NewClothing" + Util.RandomClass.Next(1, 1000).ToString("000"); |
@@ -201,8 +201,7 @@ namespace OpenSim | |||
201 | { | 201 | { |
202 | //already complete so we can add it to the inventory | 202 | //already complete so we can add it to the inventory |
203 | m_assetCache.AddAsset(trans.Asset); | 203 | m_assetCache.AddAsset(trans.Asset); |
204 | Console.WriteLine("creating inventory item"); | 204 | Console.WriteLine( "Item created is " +m_inventoryCache.AddNewInventoryItem(this.ourClient, packet.InventoryBlock.FolderID, trans.Asset).ToStringHyphenated()); |
205 | Console.WriteLine( "ITem created is " +m_inventoryCache.AddNewInventoryItem(this.ourClient, packet.InventoryBlock.FolderID, trans.Asset).ToStringHyphenated()); | ||
206 | } | 205 | } |
207 | else | 206 | else |
208 | { | 207 | { |