diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Services/AssetService/AssetService.cs | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/OpenSim/Services/AssetService/AssetService.cs b/OpenSim/Services/AssetService/AssetService.cs index 851b7b4..005051a 100644 --- a/OpenSim/Services/AssetService/AssetService.cs +++ b/OpenSim/Services/AssetService/AssetService.cs | |||
@@ -165,10 +165,11 @@ namespace OpenSim.Services.AssetService | |||
165 | 165 | ||
166 | public virtual string Store(AssetBase asset) | 166 | public virtual string Store(AssetBase asset) |
167 | { | 167 | { |
168 | // m_log.DebugFormat( | 168 | //m_log.DebugFormat("[ASSET SERVICE]: Store asset {0} {1}", asset.Name, asset.ID); |
169 | // "[ASSET SERVICE]: Storing asset {0} {1}, bytes {2}", asset.Name, asset.ID, asset.Data.Length); | 169 | if (!m_Database.StoreAsset(asset)) |
170 | 170 | { | |
171 | m_Database.StoreAsset(asset); | 171 | return UUID.Zero.ToString(); |
172 | } | ||
172 | 173 | ||
173 | return asset.ID; | 174 | return asset.ID; |
174 | } | 175 | } |