*Bypass J2kDecoder when asset is null

0.6.5-rc1
Teravus Ovares 2009-04-13 15:18:38 +00:00
parent 532ae6d925
commit 9371df52cb
1 changed files with 4 additions and 0 deletions

View File

@ -304,6 +304,10 @@ namespace OpenSim.Region.ClientStack.LindenUDP
// Do we have a jpeg decoder?
if (m_j2kDecodeModule != null)
{
if (Data == null)
{
J2KDecodedCallback(m_requestedUUID, new OpenJPEG.J2KLayerInfo[0]);
}
// Send it off to the jpeg decoder
m_j2kDecodeModule.decode(m_requestedUUID, Data, J2KDecodedCallback);