aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim.RegionServer
diff options
context:
space:
mode:
authorMW2007-03-28 20:25:31 +0000
committerMW2007-03-28 20:25:31 +0000
commit9653210db7bf0af281d9b755d48d8df207adaf1b (patch)
tree611a3f7bfc2044bf138d43e1e5c1702ecefb4c0f /OpenSim.RegionServer
parentAfter hours of searching for a bug, it works - User accounts in sandbox mode,... (diff)
downloadopensim-SC_OLD-9653210db7bf0af281d9b755d48d8df207adaf1b.zip
opensim-SC_OLD-9653210db7bf0af281d9b755d48d8df207adaf1b.tar.gz
opensim-SC_OLD-9653210db7bf0af281d9b755d48d8df207adaf1b.tar.bz2
opensim-SC_OLD-9653210db7bf0af281d9b755d48d8df207adaf1b.tar.xz
Fixed name quotes bug
Diffstat (limited to 'OpenSim.RegionServer')
-rw-r--r--OpenSim.RegionServer/AgentAssetUpload.cs5
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 {