* switch terrain archiving to raw32 rather than png to avoid unnecessary posterization. Thanks to Adam for the tip.

0.6.0-stable
Justin Clarke Casey 2008-07-07 16:37:02 +00:00
parent aaf8fff57e
commit 9362d9b231
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ namespace OpenSim.Region.Environment.Modules.World.Archiver
archive.AddFile(ArchiveConstants.CONTROL_FILE_PATH, CreateControlFile());
// Write out terrain
string terrainPath = String.Format("{0}{1}.png", ArchiveConstants.TERRAINS_PATH, m_sceneName);
string terrainPath = String.Format("{0}{1}.r32", ArchiveConstants.TERRAINS_PATH, m_sceneName);
MemoryStream ms = new MemoryStream();
m_terrainModule.SaveToStream(terrainPath, ms);
archive.AddFile(terrainPath, ms.ToArray());