*Bypass J2kDecoder when asset is null
parent
532ae6d925
commit
9371df52cb
|
@ -304,6 +304,10 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||||
// Do we have a jpeg decoder?
|
// Do we have a jpeg decoder?
|
||||||
if (m_j2kDecodeModule != null)
|
if (m_j2kDecodeModule != null)
|
||||||
{
|
{
|
||||||
|
if (Data == null)
|
||||||
|
{
|
||||||
|
J2KDecodedCallback(m_requestedUUID, new OpenJPEG.J2KLayerInfo[0]);
|
||||||
|
}
|
||||||
// Send it off to the jpeg decoder
|
// Send it off to the jpeg decoder
|
||||||
m_j2kDecodeModule.decode(m_requestedUUID, Data, J2KDecodedCallback);
|
m_j2kDecodeModule.decode(m_requestedUUID, Data, J2KDecodedCallback);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue