mirror of
https://github.com/opensim/opensim.git
synced 2026-08-12 04:05:42 +08:00
* switch terrain archiving to raw32 rather than png to avoid unnecessary posterization. Thanks to Adam for the tip.
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user