mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 19:36:07 +08:00
This resolves the problem where eyes and hair would turn white on standalone configurations When a client receives body part information, for some insane reason or other it always ends up uploading this back to the server and then immediately re-requesting it. This should have been okay since we stored that asset in cache. However, the standalone asset service connector was not checking this cache properly, so every time the client made the request for the asset it has just loaded it would get a big fat null back in the face, causing it to make clothes and hair white. This bug did not affect grids since they use a different service connector.
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