mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 20:05:33 +08:00
Merge branch 'master' into presence-refactor
This commit is contained in:
@@ -76,17 +76,19 @@ namespace OpenSim.Services.AssetService
|
||||
});
|
||||
}
|
||||
|
||||
m_log.Info("[ASSET CONNECTOR]: Local asset service enabled");
|
||||
m_log.Info("[ASSET SERVICE]: Local asset service enabled");
|
||||
}
|
||||
}
|
||||
|
||||
public AssetBase Get(string id)
|
||||
{
|
||||
//m_log.DebugFormat("[ASSET SERVICE]: Get asset {0}", id);
|
||||
{
|
||||
UUID assetID;
|
||||
|
||||
if (!UUID.TryParse(id, out assetID))
|
||||
{
|
||||
m_log.WarnFormat("[ASSET SERVICE]: Could not parse requested sset id {0}", id);
|
||||
return null;
|
||||
}
|
||||
|
||||
return m_Database.GetAsset(assetID);
|
||||
}
|
||||
|
||||
@@ -93,7 +93,7 @@ namespace OpenSim.Services.Connectors
|
||||
}
|
||||
|
||||
public AssetBase Get(string id)
|
||||
{
|
||||
{
|
||||
string uri = m_ServerURI + "/assets/" + id;
|
||||
|
||||
AssetBase asset = null;
|
||||
|
||||
Reference in New Issue
Block a user