mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
catch for a null asset so we don't get an exception here, though this
probably just makes the decoder break somewhere else.
This commit is contained in:
@@ -85,7 +85,13 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||
|
||||
public byte[] Data
|
||||
{
|
||||
get { return m_asset.Data; }
|
||||
get
|
||||
{
|
||||
if (m_asset != null)
|
||||
return m_asset.Data;
|
||||
else
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
public ushort TexturePacketCount()
|
||||
|
||||
Reference in New Issue
Block a user