diff options
Diffstat (limited to 'OpenSim/Region/Environment/Modules/Agent/TextureSender')
-rw-r--r-- | OpenSim/Region/Environment/Modules/Agent/TextureSender/TextureSender.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Modules/Agent/TextureSender/TextureSender.cs b/OpenSim/Region/Environment/Modules/Agent/TextureSender/TextureSender.cs index 02c541b..e19274e 100644 --- a/OpenSim/Region/Environment/Modules/Agent/TextureSender/TextureSender.cs +++ b/OpenSim/Region/Environment/Modules/Agent/TextureSender/TextureSender.cs | |||
@@ -157,6 +157,7 @@ namespace OpenSim.Region.Environment.Modules.Agent.TextureSender | |||
157 | im.ImageID.Size = (uint) m_asset.Data.Length; | 157 | im.ImageID.Size = (uint) m_asset.Data.Length; |
158 | im.ImageData.Data = m_asset.Data; | 158 | im.ImageData.Data = m_asset.Data; |
159 | im.ImageID.Codec = 2; | 159 | im.ImageID.Codec = 2; |
160 | im.Header.Zerocoded = true; | ||
160 | RequestUser.OutPacket(im, ThrottleOutPacketType.Texture); | 161 | RequestUser.OutPacket(im, ThrottleOutPacketType.Texture); |
161 | PacketCounter++; | 162 | PacketCounter++; |
162 | } | 163 | } |
@@ -170,6 +171,7 @@ namespace OpenSim.Region.Environment.Modules.Agent.TextureSender | |||
170 | im.ImageData.Data = new byte[600]; | 171 | im.ImageData.Data = new byte[600]; |
171 | Array.Copy(m_asset.Data, 0, im.ImageData.Data, 0, 600); | 172 | Array.Copy(m_asset.Data, 0, im.ImageData.Data, 0, 600); |
172 | im.ImageID.Codec = 2; | 173 | im.ImageID.Codec = 2; |
174 | im.Header.Zerocoded = true; | ||
173 | RequestUser.OutPacket(im, ThrottleOutPacketType.Texture); | 175 | RequestUser.OutPacket(im, ThrottleOutPacketType.Texture); |
174 | PacketCounter++; | 176 | PacketCounter++; |
175 | } | 177 | } |
@@ -193,6 +195,7 @@ namespace OpenSim.Region.Environment.Modules.Agent.TextureSender | |||
193 | m_asset.FullID.ToString()); | 195 | m_asset.FullID.ToString()); |
194 | return; | 196 | return; |
195 | } | 197 | } |
198 | im.Header.Zerocoded = true; | ||
196 | RequestUser.OutPacket(im, ThrottleOutPacketType.Texture); | 199 | RequestUser.OutPacket(im, ThrottleOutPacketType.Texture); |
197 | PacketCounter++; | 200 | PacketCounter++; |
198 | } | 201 | } |