aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/Environment/Modules/UserTextureDownloadService.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Modules/UserTextureDownloadService.cs b/OpenSim/Region/Environment/Modules/UserTextureDownloadService.cs
index c325746..8987a19 100644
--- a/OpenSim/Region/Environment/Modules/UserTextureDownloadService.cs
+++ b/OpenSim/Region/Environment/Modules/UserTextureDownloadService.cs
@@ -124,7 +124,10 @@ namespace OpenSim.Region.Environment.Modules
124 124
125 if (m_textureSenders.TryGetValue(textureID, out textureSender)) 125 if (m_textureSenders.TryGetValue(textureID, out textureSender))
126 { 126 {
127 if (texture == null) 127 // XXX It may be perfectly valid for a texture to have no data... but if we pass
128 // this on to the TextureSender it will blow up, so just discard for now.
129 // Needs investigation.
130 if (texture == null || texture.Data == null)
128 { 131 {
129 // Right now, leaving it up to lower level asset server code to post the fact that 132 // Right now, leaving it up to lower level asset server code to post the fact that
130 // this texture could not be found 133 // this texture could not be found