diff options
author | Brian McBee | 2007-12-18 04:04:42 +0000 |
---|---|---|
committer | Brian McBee | 2007-12-18 04:04:42 +0000 |
commit | 1e92cfa475619c7bb4dade276337471382a49ae3 (patch) | |
tree | ed718850278df9a5f9c6f463ae390d88fd2d92f0 /OpenSim/Region/Environment/Modules/TextureDownloadModule.cs | |
parent | Add a bit to svn:ignore (diff) | |
download | opensim-SC-1e92cfa475619c7bb4dade276337471382a49ae3.zip opensim-SC-1e92cfa475619c7bb4dade276337471382a49ae3.tar.gz opensim-SC-1e92cfa475619c7bb4dade276337471382a49ae3.tar.bz2 opensim-SC-1e92cfa475619c7bb4dade276337471382a49ae3.tar.xz |
textures that fit in one packet expect the packet number to be 1. You clear texture should now work.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/Modules/TextureDownloadModule.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Modules/TextureDownloadModule.cs b/OpenSim/Region/Environment/Modules/TextureDownloadModule.cs index e053d6e..d126569 100644 --- a/OpenSim/Region/Environment/Modules/TextureDownloadModule.cs +++ b/OpenSim/Region/Environment/Modules/TextureDownloadModule.cs | |||
@@ -288,7 +288,7 @@ namespace OpenSim.Region.Environment.Modules | |||
288 | { | 288 | { |
289 | ImageDataPacket im = new ImageDataPacket(); | 289 | ImageDataPacket im = new ImageDataPacket(); |
290 | im.Header.Reliable = false; | 290 | im.Header.Reliable = false; |
291 | im.ImageID.Packets = 0; | 291 | im.ImageID.Packets = 1; |
292 | im.ImageID.ID = m_asset.FullID; | 292 | im.ImageID.ID = m_asset.FullID; |
293 | im.ImageID.Size = (uint)m_asset.Data.Length; | 293 | im.ImageID.Size = (uint)m_asset.Data.Length; |
294 | im.ImageData.Data = m_asset.Data; | 294 | im.ImageData.Data = m_asset.Data; |