aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Services')
-rw-r--r--OpenSim/Services/AssetService/AssetService.cs6
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Services/AssetService/AssetService.cs b/OpenSim/Services/AssetService/AssetService.cs
index e7eb6fe..422fd0a 100644
--- a/OpenSim/Services/AssetService/AssetService.cs
+++ b/OpenSim/Services/AssetService/AssetService.cs
@@ -146,7 +146,11 @@ namespace OpenSim.Services.AssetService
146 return null; 146 return null;
147 147
148 AssetBase asset = m_Database.GetAsset(assetID); 148 AssetBase asset = m_Database.GetAsset(assetID);
149 return asset.Data; 149
150 if (asset != null)
151 return asset.Data;
152 else
153 return null;
150 } 154 }
151 155
152 public virtual bool Get(string id, Object sender, AssetRetrieved handler) 156 public virtual bool Get(string id, Object sender, AssetRetrieved handler)