aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/TerrainData.cs
diff options
context:
space:
mode:
authorRobert Adams2013-11-01 16:37:27 -0700
committerRobert Adams2013-11-01 16:37:27 -0700
commit92c06a5d0b9285789954b94f44e7c9a594762a44 (patch)
treeb40129d67828f7a83159dc87f9bfdee05d5949d7 /OpenSim/Framework/TerrainData.cs
parentvarregion: enforce multiple of 256 for region size when parameters fetched fr... (diff)
downloadopensim-SC_OLD-92c06a5d0b9285789954b94f44e7c9a594762a44.zip
opensim-SC_OLD-92c06a5d0b9285789954b94f44e7c9a594762a44.tar.gz
opensim-SC_OLD-92c06a5d0b9285789954b94f44e7c9a594762a44.tar.bz2
opensim-SC_OLD-92c06a5d0b9285789954b94f44e7c9a594762a44.tar.xz
varregion: fix lawn-mower terrain fill so it works for non-square regions.
Add some debugging logs on region creation to report region size.
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/TerrainData.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Framework/TerrainData.cs b/OpenSim/Framework/TerrainData.cs
index 58b203f..9c036ca 100644
--- a/OpenSim/Framework/TerrainData.cs
+++ b/OpenSim/Framework/TerrainData.cs
@@ -280,9 +280,11 @@ namespace OpenSim.Framework
280 { 280 {
281 case DBTerrainRevision.Compressed2D: 281 case DBTerrainRevision.Compressed2D:
282 FromCompressedTerrainSerialization(pBlob); 282 FromCompressedTerrainSerialization(pBlob);
283 m_log.DebugFormat("{0} HeightmapTerrainData create from Compressed2D serialization. Size=<{1},{2}>", LogHeader, SizeX, SizeY);
283 break; 284 break;
284 default: 285 default:
285 FromLegacyTerrainSerialization(pBlob); 286 FromLegacyTerrainSerialization(pBlob);
287 m_log.DebugFormat("{0} HeightmapTerrainData create from legacy serialization. Size=<{1},{2}>", LogHeader, SizeX, SizeY);
286 break; 288 break;
287 } 289 }
288 } 290 }
@@ -333,8 +335,6 @@ namespace OpenSim.Framework
333 } 335 }
334 } 336 }
335 ClearTaint(); 337 ClearTaint();
336
337 m_log.InfoFormat("{0} Loaded legacy heightmap. SizeX={1}, SizeY={2}", LogHeader, SizeX, SizeY);
338 } 338 }
339 } 339 }
340 340