aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/AssetService/AssetService.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Services/AssetService/AssetService.cs')
-rw-r--r--OpenSim/Services/AssetService/AssetService.cs9
1 files changed, 5 insertions, 4 deletions
diff --git a/OpenSim/Services/AssetService/AssetService.cs b/OpenSim/Services/AssetService/AssetService.cs
index e1f90b6..acbd2b1 100644
--- a/OpenSim/Services/AssetService/AssetService.cs
+++ b/OpenSim/Services/AssetService/AssetService.cs
@@ -156,10 +156,11 @@ namespace OpenSim.Services.AssetService
156 156
157 public virtual string Store(AssetBase asset) 157 public virtual string Store(AssetBase asset)
158 { 158 {
159// m_log.DebugFormat( 159 //m_log.DebugFormat("[ASSET SERVICE]: Store asset {0} {1}", asset.Name, asset.ID);
160// "[ASSET SERVICE]: Storing asset {0} {1}, bytes {2}", asset.Name, asset.ID, asset.Data.Length); 160 if (!m_Database.StoreAsset(asset))
161 161 {
162 m_Database.StoreAsset(asset); 162 return UUID.Zero.ToString();
163 }
163 164
164 return asset.ID; 165 return asset.ID;
165 } 166 }