diff options
author | Teravus Ovares | 2008-05-10 10:28:49 +0000 |
---|---|---|
committer | Teravus Ovares | 2008-05-10 10:28:49 +0000 |
commit | e8478dadc87586aaed173f60c44bc5ee2722d9dd (patch) | |
tree | 71b5fdd25c0ba50c595dfe7e9d1f017d68277988 /OpenSim/Region/Environment/Modules/Agent/TextureSender | |
parent | * Resolve mantis 1182. Doesn't actually implement llGiveInventoryList - mere... (diff) | |
download | opensim-SC_OLD-e8478dadc87586aaed173f60c44bc5ee2722d9dd.zip opensim-SC_OLD-e8478dadc87586aaed173f60c44bc5ee2722d9dd.tar.gz opensim-SC_OLD-e8478dadc87586aaed173f60c44bc5ee2722d9dd.tar.bz2 opensim-SC_OLD-e8478dadc87586aaed173f60c44bc5ee2722d9dd.tar.xz |
* Experiment in Zerocoding.
Diffstat (limited to '')
-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 | } |