catch for a null asset so we don't get an exception here, though this

probably just makes the decoder break somewhere else.
0.6.5-rc1
Sean Dague 2009-04-13 14:52:23 +00:00
parent 58fd013929
commit b2e5f03942
1 changed files with 7 additions and 1 deletions

View File

@ -85,7 +85,13 @@ namespace OpenSim.Region.ClientStack.LindenUDP
public byte[] Data public byte[] Data
{ {
get { return m_asset.Data; } get
{
if (m_asset != null)
return m_asset.Data;
else
return null;
}
} }
public ushort TexturePacketCount() public ushort TexturePacketCount()