* Resolve bug where save oar would never complete if any assets were missing

This commit is contained in:
Justin Clarke Casey
2009-05-15 20:20:55 +00:00
parent 3791386d4d
commit c11e047410
5 changed files with 20 additions and 17 deletions

View File

@@ -98,6 +98,8 @@ namespace OpenSim.Services.AssetService
public bool Get(string id, Object sender, AssetRetrieved handler)
{
//m_log.DebugFormat("[AssetService]: Got request for {0}", id);
UUID assetID;
if (!UUID.TryParse(id, out assetID))
@@ -105,6 +107,8 @@ namespace OpenSim.Services.AssetService
AssetBase asset = m_Database.FetchAsset(assetID);
//m_log.DebugFormat("[AssetService]: Got asset {0}", asset);
handler(id, sender, asset);
return true;