diff options
author | Justin Clarke Casey | 2008-07-07 16:37:02 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-07-07 16:37:02 +0000 |
commit | 9362d9b231120bae885d1f9147f8c800906702f1 (patch) | |
tree | fc4bad494f80e5dbfdb03f0a4026200e30bba680 /OpenSim/Region/Environment/Modules/World | |
parent | adding support for IP EndPoint whitelisting in HttpServer code. (diff) | |
download | opensim-SC-9362d9b231120bae885d1f9147f8c800906702f1.zip opensim-SC-9362d9b231120bae885d1f9147f8c800906702f1.tar.gz opensim-SC-9362d9b231120bae885d1f9147f8c800906702f1.tar.bz2 opensim-SC-9362d9b231120bae885d1f9147f8c800906702f1.tar.xz |
* switch terrain archiving to raw32 rather than png to avoid unnecessary posterization. Thanks to Adam for the tip.
Diffstat (limited to 'OpenSim/Region/Environment/Modules/World')
-rw-r--r-- | OpenSim/Region/Environment/Modules/World/Archiver/ArchiveWriteRequestExecution.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveWriteRequestExecution.cs b/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveWriteRequestExecution.cs index 350f138..f8c8b73 100644 --- a/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveWriteRequestExecution.cs +++ b/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveWriteRequestExecution.cs | |||
@@ -82,7 +82,7 @@ namespace OpenSim.Region.Environment.Modules.World.Archiver | |||
82 | archive.AddFile(ArchiveConstants.CONTROL_FILE_PATH, CreateControlFile()); | 82 | archive.AddFile(ArchiveConstants.CONTROL_FILE_PATH, CreateControlFile()); |
83 | 83 | ||
84 | // Write out terrain | 84 | // Write out terrain |
85 | string terrainPath = String.Format("{0}{1}.png", ArchiveConstants.TERRAINS_PATH, m_sceneName); | 85 | string terrainPath = String.Format("{0}{1}.r32", ArchiveConstants.TERRAINS_PATH, m_sceneName); |
86 | MemoryStream ms = new MemoryStream(); | 86 | MemoryStream ms = new MemoryStream(); |
87 | m_terrainModule.SaveToStream(terrainPath, ms); | 87 | m_terrainModule.SaveToStream(terrainPath, ms); |
88 | archive.AddFile(terrainPath, ms.ToArray()); | 88 | archive.AddFile(terrainPath, ms.ToArray()); |