aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-07-07 16:37:02 +0000
committerJustin Clarke Casey2008-07-07 16:37:02 +0000
commit9362d9b231120bae885d1f9147f8c800906702f1 (patch)
treefc4bad494f80e5dbfdb03f0a4026200e30bba680 /OpenSim/Region/Environment/Modules
parentadding support for IP EndPoint whitelisting in HttpServer code. (diff)
downloadopensim-SC_OLD-9362d9b231120bae885d1f9147f8c800906702f1.zip
opensim-SC_OLD-9362d9b231120bae885d1f9147f8c800906702f1.tar.gz
opensim-SC_OLD-9362d9b231120bae885d1f9147f8c800906702f1.tar.bz2
opensim-SC_OLD-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')
-rw-r--r--OpenSim/Region/Environment/Modules/World/Archiver/ArchiveWriteRequestExecution.cs2
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());