* Downgrade texture exception to a warning.
parent
0fc6b2a429
commit
b483faddf2
|
@ -42,8 +42,8 @@ namespace OpenSim.Region.Environment.Modules
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class UserTextureDownloadService
|
public class UserTextureDownloadService
|
||||||
{
|
{
|
||||||
//private static readonly log4net.ILog m_log
|
private static readonly log4net.ILog m_log
|
||||||
// = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
|
= log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Holds texture senders before they have received the appropriate texture from the asset cache.
|
/// Holds texture senders before they have received the appropriate texture from the asset cache.
|
||||||
|
@ -138,7 +138,6 @@ namespace OpenSim.Region.Environment.Modules
|
||||||
// this texture could not be found
|
// this texture could not be found
|
||||||
|
|
||||||
// TODO Send packet back to the client telling it not to expect the texture
|
// TODO Send packet back to the client telling it not to expect the texture
|
||||||
// The absence of this packet doesn't appear to be causing it a problem right now
|
|
||||||
|
|
||||||
//m_log.DebugFormat("[USER TEXTURE DOWNLOAD]: Removing download stat for {0}", textureID);
|
//m_log.DebugFormat("[USER TEXTURE DOWNLOAD]: Removing download stat for {0}", textureID);
|
||||||
m_scene.AddPendingDownloads(-1);
|
m_scene.AddPendingDownloads(-1);
|
||||||
|
@ -150,7 +149,9 @@ namespace OpenSim.Region.Environment.Modules
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
throw new Exception("Got a texture with no sender object to handle it, this shouldn't happen");
|
m_log.WarnFormat(
|
||||||
|
"Got a texture uuid {0} with no sender object to handle it, this shouldn't happen",
|
||||||
|
textureID);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue