diff options
author | UbitUmarov | 2018-05-04 16:59:11 +0100 |
---|---|---|
committer | UbitUmarov | 2018-05-04 16:59:11 +0100 |
commit | 7838689dda4593b57f4afae2a1cf92b60b31e9fb (patch) | |
tree | d79427465f718824eb96dacc7e95c51f8739f181 /OpenSim/Services/Connectors/Hypergrid/GatekeeperServiceConnector.cs | |
parent | change region console comand export-map: make it work with var regions, cente... (diff) | |
download | opensim-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/Services/Connectors/Hypergrid/GatekeeperServiceConnector.cs')
-rw-r--r-- | OpenSim/Services/Connectors/Hypergrid/GatekeeperServiceConnector.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Services/Connectors/Hypergrid/GatekeeperServiceConnector.cs b/OpenSim/Services/Connectors/Hypergrid/GatekeeperServiceConnector.cs index e814c45..cb15fc0 100644 --- a/OpenSim/Services/Connectors/Hypergrid/GatekeeperServiceConnector.cs +++ b/OpenSim/Services/Connectors/Hypergrid/GatekeeperServiceConnector.cs | |||
@@ -189,7 +189,7 @@ namespace OpenSim.Services.Connectors.Hypergrid | |||
189 | using (Bitmap bitmap = new Bitmap(filename)) | 189 | using (Bitmap bitmap = new Bitmap(filename)) |
190 | { | 190 | { |
191 | //m_log.Debug("Size: " + m.PhysicalDimension.Height + "-" + m.PhysicalDimension.Width); | 191 | //m_log.Debug("Size: " + m.PhysicalDimension.Height + "-" + m.PhysicalDimension.Width); |
192 | imageData = OpenJPEG.EncodeFromImage(bitmap, true); | 192 | imageData = OpenJPEG.EncodeFromImage(bitmap, false); |
193 | } | 193 | } |
194 | 194 | ||
195 | AssetBase ass = new AssetBase(UUID.Random(), "region " + name, (sbyte)AssetType.Texture, regionID.ToString()); | 195 | AssetBase ass = new AssetBase(UUID.Random(), "region " + name, (sbyte)AssetType.Texture, regionID.ToString()); |