From 92c06a5d0b9285789954b94f44e7c9a594762a44 Mon Sep 17 00:00:00 2001 From: Robert Adams Date: Fri, 1 Nov 2013 16:37:27 -0700 Subject: varregion: fix lawn-mower terrain fill so it works for non-square regions. Add some debugging logs on region creation to report region size. --- OpenSim/Framework/TerrainData.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenSim/Framework') 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 { case DBTerrainRevision.Compressed2D: FromCompressedTerrainSerialization(pBlob); + m_log.DebugFormat("{0} HeightmapTerrainData create from Compressed2D serialization. Size=<{1},{2}>", LogHeader, SizeX, SizeY); break; default: FromLegacyTerrainSerialization(pBlob); + m_log.DebugFormat("{0} HeightmapTerrainData create from legacy serialization. Size=<{1},{2}>", LogHeader, SizeX, SizeY); break; } } @@ -333,8 +335,6 @@ namespace OpenSim.Framework } } ClearTaint(); - - m_log.InfoFormat("{0} Loaded legacy heightmap. SizeX={1}, SizeY={2}", LogHeader, SizeX, SizeY); } } -- cgit v1.1