diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/Modules/TextureDownloadModule.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Environment/Modules/TextureDownloadModule.cs b/OpenSim/Region/Environment/Modules/TextureDownloadModule.cs index 87d6231..902b669 100644 --- a/OpenSim/Region/Environment/Modules/TextureDownloadModule.cs +++ b/OpenSim/Region/Environment/Modules/TextureDownloadModule.cs | |||
@@ -212,7 +212,7 @@ namespace OpenSim.Region.Environment.Modules | |||
212 | im.ImageID.Size = (uint) m_asset.Data.Length; | 212 | im.ImageID.Size = (uint) m_asset.Data.Length; |
213 | im.ImageData.Data = m_asset.Data; | 213 | im.ImageData.Data = m_asset.Data; |
214 | im.ImageID.Codec = 2; | 214 | im.ImageID.Codec = 2; |
215 | req.RequestUser.OutPacket(im); | 215 | req.RequestUser.OutPacket(im, ThrottleOutPacketType.Texture); |
216 | PacketCounter++; | 216 | PacketCounter++; |
217 | } | 217 | } |
218 | else | 218 | else |
@@ -225,7 +225,7 @@ namespace OpenSim.Region.Environment.Modules | |||
225 | im.ImageData.Data = new byte[600]; | 225 | im.ImageData.Data = new byte[600]; |
226 | Array.Copy(m_asset.Data, 0, im.ImageData.Data, 0, 600); | 226 | Array.Copy(m_asset.Data, 0, im.ImageData.Data, 0, 600); |
227 | im.ImageID.Codec = 2; | 227 | im.ImageID.Codec = 2; |
228 | req.RequestUser.OutPacket(im); | 228 | req.RequestUser.OutPacket(im, ThrottleOutPacketType.Texture); |
229 | PacketCounter++; | 229 | PacketCounter++; |
230 | } | 230 | } |
231 | } | 231 | } |
@@ -239,7 +239,7 @@ namespace OpenSim.Region.Environment.Modules | |||
239 | if (size > 1000) size = 1000; | 239 | if (size > 1000) size = 1000; |
240 | im.ImageData.Data = new byte[size]; | 240 | im.ImageData.Data = new byte[size]; |
241 | Array.Copy(m_asset.Data, 600 + (1000*(PacketCounter - 1)), im.ImageData.Data, 0, size); | 241 | Array.Copy(m_asset.Data, 600 + (1000*(PacketCounter - 1)), im.ImageData.Data, 0, size); |
242 | req.RequestUser.OutPacket(im); | 242 | req.RequestUser.OutPacket(im, ThrottleOutPacketType.Texture); |
243 | PacketCounter++; | 243 | PacketCounter++; |
244 | } | 244 | } |
245 | } | 245 | } |