aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authornebadon2013-07-26 14:11:42 -0400
committernebadon2013-07-26 14:11:42 -0400
commitad2ebd2f3dc70d708aa00a5fef59aeb3a3e16a44 (patch)
tree15f763f045520dab69bfcf957442d6310bee223c
parentComment debug message (diff)
downloadopensim-SC_OLD-ad2ebd2f3dc70d708aa00a5fef59aeb3a3e16a44.zip
opensim-SC_OLD-ad2ebd2f3dc70d708aa00a5fef59aeb3a3e16a44.tar.gz
opensim-SC_OLD-ad2ebd2f3dc70d708aa00a5fef59aeb3a3e16a44.tar.bz2
opensim-SC_OLD-ad2ebd2f3dc70d708aa00a5fef59aeb3a3e16a44.tar.xz
Force map tiler to save Water.jpg as an actual jpeg format it seems even though we specified jpg extention it was actually a png and thus confusing the viewer silently.
-rw-r--r--OpenSim/Services/MapImageService/MapImageService.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Services/MapImageService/MapImageService.cs b/OpenSim/Services/MapImageService/MapImageService.cs
index a85ee70..9ba5dab 100644
--- a/OpenSim/Services/MapImageService/MapImageService.cs
+++ b/OpenSim/Services/MapImageService/MapImageService.cs
@@ -86,7 +86,7 @@ namespace OpenSim.Services.MapImageService
86 { 86 {
87 Bitmap waterTile = new Bitmap(IMAGE_WIDTH, IMAGE_WIDTH); 87 Bitmap waterTile = new Bitmap(IMAGE_WIDTH, IMAGE_WIDTH);
88 FillImage(waterTile, m_Watercolor); 88 FillImage(waterTile, m_Watercolor);
89 waterTile.Save(m_WaterTileFile); 89 waterTile.Save(m_WaterTileFile, ImageFormat.Jpeg);
90 } 90 }
91 } 91 }
92 } 92 }