aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/World/LegacyMap
diff options
context:
space:
mode:
authorUbitUmarov2018-05-04 16:59:11 +0100
committerUbitUmarov2018-05-04 16:59:11 +0100
commit7838689dda4593b57f4afae2a1cf92b60b31e9fb (patch)
treed79427465f718824eb96dacc7e95c51f8739f181 /OpenSim/Region/CoreModules/World/LegacyMap
parentchange region console comand export-map: make it work with var regions, cente... (diff)
downloadopensim-SC-7838689dda4593b57f4afae2a1cf92b60b31e9fb.zip
opensim-SC-7838689dda4593b57f4afae2a1cf92b60b31e9fb.tar.gz
opensim-SC-7838689dda4593b57f4afae2a1cf92b60b31e9fb.tar.bz2
opensim-SC-7838689dda4593b57f4afae2a1cf92b60b31e9fb.tar.xz
why where map and dynamic textures compressed lossless?
Diffstat (limited to 'OpenSim/Region/CoreModules/World/LegacyMap')
-rw-r--r--OpenSim/Region/CoreModules/World/LegacyMap/MapImageModule.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/World/LegacyMap/MapImageModule.cs b/OpenSim/Region/CoreModules/World/LegacyMap/MapImageModule.cs
index b927cfa..ce82c26 100644
--- a/OpenSim/Region/CoreModules/World/LegacyMap/MapImageModule.cs
+++ b/OpenSim/Region/CoreModules/World/LegacyMap/MapImageModule.cs
@@ -153,7 +153,7 @@ namespace OpenSim.Region.CoreModules.World.LegacyMap
153 using (Bitmap mapbmp = CreateMapTile()) 153 using (Bitmap mapbmp = CreateMapTile())
154 { 154 {
155 if (mapbmp != null) 155 if (mapbmp != null)
156 return OpenJPEG.EncodeFromImage(mapbmp, true); 156 return OpenJPEG.EncodeFromImage(mapbmp, false);
157 } 157 }
158 } 158 }
159 catch (Exception e) // LEGIT: Catching problems caused by OpenJPEG p/invoke 159 catch (Exception e) // LEGIT: Catching problems caused by OpenJPEG p/invoke