aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Framework/TerrainData.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Framework/TerrainData.cs b/OpenSim/Framework/TerrainData.cs
index d2e1c6a..5cec2b5 100644
--- a/OpenSim/Framework/TerrainData.cs
+++ b/OpenSim/Framework/TerrainData.cs
@@ -201,6 +201,7 @@ namespace OpenSim.Framework
201 public override bool GetDatabaseBlob(out int DBRevisionCode, out Array blob) 201 public override bool GetDatabaseBlob(out int DBRevisionCode, out Array blob)
202 { 202 {
203 bool ret = false; 203 bool ret = false;
204/* save all as Variable2DGzip
204 if (SizeX == Constants.RegionSize && SizeY == Constants.RegionSize) 205 if (SizeX == Constants.RegionSize && SizeY == Constants.RegionSize)
205 { 206 {
206 DBRevisionCode = (int)DBTerrainRevision.Legacy256; 207 DBRevisionCode = (int)DBTerrainRevision.Legacy256;
@@ -209,12 +210,13 @@ namespace OpenSim.Framework
209 } 210 }
210 else 211 else
211 { 212 {
213*/
212 DBRevisionCode = (int)DBTerrainRevision.Variable2DGzip; 214 DBRevisionCode = (int)DBTerrainRevision.Variable2DGzip;
213// DBRevisionCode = (int)DBTerrainRevision.Variable2D; 215// DBRevisionCode = (int)DBTerrainRevision.Variable2D;
214 blob = ToCompressedTerrainSerializationV2DGzip(); 216 blob = ToCompressedTerrainSerializationV2DGzip();
215// blob = ToCompressedTerrainSerializationV2D(); 217// blob = ToCompressedTerrainSerializationV2D();
216 ret = true; 218 ret = true;
217 } 219// }
218 return ret; 220 return ret;
219 } 221 }
220 222