diff options
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/J2KImage.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/J2KImage.cs b/OpenSim/Region/ClientStack/LindenUDP/J2KImage.cs index a88fd26..947931e 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/J2KImage.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/J2KImage.cs | |||
@@ -134,8 +134,12 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
134 | 134 | ||
135 | protected void AssetReceived(string id, Object sender, AssetBase asset) | 135 | protected void AssetReceived(string id, Object sender, AssetBase asset) |
136 | { | 136 | { |
137 | UUID assetID = UUID.Zero; | ||
137 | if (asset != null) | 138 | if (asset != null) |
138 | AssetDataCallback(asset.FullID, asset); | 139 | assetID = asset.FullID; |
140 | |||
141 | AssetDataCallback(assetID, asset); | ||
142 | |||
139 | } | 143 | } |
140 | 144 | ||
141 | private int GetPacketForBytePosition(int bytePosition) | 145 | private int GetPacketForBytePosition(int bytePosition) |