aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/J2KImage.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/J2KImage.cs b/OpenSim/Region/ClientStack/LindenUDP/J2KImage.cs
index acb8497..5c5292e 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/J2KImage.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/J2KImage.cs
@@ -304,6 +304,10 @@ namespace OpenSim.Region.ClientStack.LindenUDP
304 // Do we have a jpeg decoder? 304 // Do we have a jpeg decoder?
305 if (m_j2kDecodeModule != null) 305 if (m_j2kDecodeModule != null)
306 { 306 {
307 if (Data == null)
308 {
309 J2KDecodedCallback(m_requestedUUID, new OpenJPEG.J2KLayerInfo[0]);
310 }
307 // Send it off to the jpeg decoder 311 // Send it off to the jpeg decoder
308 m_j2kDecodeModule.decode(m_requestedUUID, Data, J2KDecodedCallback); 312 m_j2kDecodeModule.decode(m_requestedUUID, Data, J2KDecodedCallback);
309 313