aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/Linden
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/Region/ClientStack/Linden
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 'OpenSim/Region/ClientStack/Linden')
-rw-r--r--OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
index c8e7eb5..d2fa837 100644
--- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
@@ -1195,7 +1195,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
1195 for (int j = y1 + 1; j <= y2; j++) 1195 for (int j = y1 + 1; j <= y2; j++)
1196 SendLayerData(x2, j, map); 1196 SendLayerData(x2, j, map);
1197 1197
1198 if (x2 - x1 > 0) 1198 if (x2 - x1 > 0 && y2 - y1 > 0)
1199 SendLayerBottomLeft(map, x1, y1 + 1, x2 - 1, y2); 1199 SendLayerBottomLeft(map, x1, y1 + 1, x2 - 1, y2);
1200 } 1200 }
1201 1201
@@ -1209,7 +1209,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
1209 for (int j = y2 - 1; j >= y1; j--) 1209 for (int j = y2 - 1; j >= y1; j--)
1210 SendLayerData(x1, j, map); 1210 SendLayerData(x1, j, map);
1211 1211
1212 if (x2 - x1 > 0) 1212 if (x2 - x1 > 0 && y2 - y1 > 0)
1213 SendLayerTopRight(map, x1 + 1, y1, x2, y2 - 1); 1213 SendLayerTopRight(map, x1 + 1, y1, x2, y2 - 1);
1214 } 1214 }
1215 1215