Make texture decode errors nonfatal. The texture send is simply dropped
parent
5972eb8848
commit
ece27a3631
|
@ -176,9 +176,11 @@ namespace OpenSim.Region.Environment.Modules.Agent.TextureDownload
|
|||
{
|
||||
ITextureSender sender = null;
|
||||
|
||||
try
|
||||
{
|
||||
// try
|
||||
// {
|
||||
while (true)
|
||||
{
|
||||
try
|
||||
{
|
||||
sender = m_queueSenders.Dequeue();
|
||||
|
||||
|
@ -206,15 +208,21 @@ namespace OpenSim.Region.Environment.Modules.Agent.TextureDownload
|
|||
|
||||
//m_log.InfoFormat("[TEXTURE] Texture sender queue size: {0}", m_queueSenders.Count());
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
catch(Exception e)
|
||||
{
|
||||
// TODO: Let users in the sim and those entering it and possibly an external watchdog know what has happened
|
||||
m_log.ErrorFormat(
|
||||
"[TEXTURE]: Texture send thread terminating with exception. PLEASE REBOOT YOUR SIM - TEXTURES WILL NOT BE AVAILABLE UNTIL YOU DO. Exception is {0}",
|
||||
e);
|
||||
"[TEXTURE]: Texture send thread caught exception. The texture send was aborted. Exception is {0}", e);
|
||||
}
|
||||
}
|
||||
// }
|
||||
// catch (Exception e)
|
||||
// {
|
||||
// // TODO: Let users in the sim and those entering it and possibly an external watchdog know what has happened
|
||||
// m_log.ErrorFormat(
|
||||
// "[TEXTURE]: Texture send thread terminating with exception. PLEASE REBOOT YOUR SIM - TEXTURES WILL NOT BE AVAILABLE UNTIL YOU DO. Exception is {0}",
|
||||
// e);
|
||||
// }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called when the texture has finished sending.
|
||||
|
|
Loading…
Reference in New Issue