aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Communications/OGS1
diff options
context:
space:
mode:
authorBrian McBee2007-11-25 03:14:43 +0000
committerBrian McBee2007-11-25 03:14:43 +0000
commit6ed34cc27e53ad305f9306d5428868ca2a3b2128 (patch)
tree4b02229f27d9eedf3ff0c75000e7bb0ff432ede7 /OpenSim/Region/Communications/OGS1
parent* Experimental updated Linux ODE library (diff)
downloadopensim-SC_OLD-6ed34cc27e53ad305f9306d5428868ca2a3b2128.zip
opensim-SC_OLD-6ed34cc27e53ad305f9306d5428868ca2a3b2128.tar.gz
opensim-SC_OLD-6ed34cc27e53ad305f9306d5428868ca2a3b2128.tar.bz2
opensim-SC_OLD-6ed34cc27e53ad305f9306d5428868ca2a3b2128.tar.xz
fixed order of map block requests to grid server. flipped map texture, as it was upside down.
Diffstat (limited to 'OpenSim/Region/Communications/OGS1')
-rw-r--r--OpenSim/Region/Communications/OGS1/OGS1GridServices.cs15
1 files changed, 15 insertions, 0 deletions
diff --git a/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs b/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs
index 3708fff..6b2407a 100644
--- a/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs
+++ b/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs
@@ -223,6 +223,21 @@ namespace OpenSim.Region.Communications.OGS1
223 /// <returns></returns> 223 /// <returns></returns>
224 public List<MapBlockData> RequestNeighbourMapBlocks(int minX, int minY, int maxX, int maxY) 224 public List<MapBlockData> RequestNeighbourMapBlocks(int minX, int minY, int maxX, int maxY)
225 { 225 {
226 int temp = 0;
227
228 if (minX > maxX)
229 {
230 temp = minX;
231 minX = maxX;
232 maxX = temp;
233 }
234 if (minY > maxY)
235 {
236 temp = minY;
237 minY = maxY;
238 maxY = temp;
239 }
240
226 Hashtable respData = MapBlockQuery(minX, minY, maxX, maxY); 241 Hashtable respData = MapBlockQuery(minX, minY, maxX, maxY);
227 242
228 List<MapBlockData> neighbours = new List<MapBlockData>(); 243 List<MapBlockData> neighbours = new List<MapBlockData>();