mirror of
https://github.com/opensim/opensim.git
synced 2026-05-15 03:15:41 +08:00
*Bypass J2kDecoder when asset is null
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user