aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ClientStack')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/J2KImage.cs8
1 files changed, 7 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/J2KImage.cs b/OpenSim/Region/ClientStack/LindenUDP/J2KImage.cs
index d8cf9a7..54be807 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/J2KImage.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/J2KImage.cs
@@ -85,7 +85,13 @@ namespace OpenSim.Region.ClientStack.LindenUDP
85 85
86 public byte[] Data 86 public byte[] Data
87 { 87 {
88 get { return m_asset.Data; } 88 get
89 {
90 if (m_asset != null)
91 return m_asset.Data;
92 else
93 return null;
94 }
89 } 95 }
90 96
91 public ushort TexturePacketCount() 97 public ushort TexturePacketCount()