aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack
diff options
context:
space:
mode:
authorLatif Khalifa2013-11-06 03:48:48 +0100
committerLatif Khalifa2013-11-06 03:52:04 +0100
commit26fd29622d602cbd63743f4f2fa0b681b00826ed (patch)
tree073774695fa37b599f4833f7a2945e7ad036bda0 /OpenSim/Region/ClientStack
parentUpdated libomv to 25ee208a 2013-11-05 (diff)
downloadopensim-SC_OLD-26fd29622d602cbd63743f4f2fa0b681b00826ed.zip
opensim-SC_OLD-26fd29622d602cbd63743f4f2fa0b681b00826ed.tar.gz
opensim-SC_OLD-26fd29622d602cbd63743f4f2fa0b681b00826ed.tar.bz2
opensim-SC_OLD-26fd29622d602cbd63743f4f2fa0b681b00826ed.tar.xz
Added sending (for now hard-coded) sim isze in SendMapBlockSplit()
Diffstat (limited to 'OpenSim/Region/ClientStack')
-rw-r--r--OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
index 1a2d4de..20bc59c 100644
--- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
@@ -1463,6 +1463,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
1463 1463
1464 mapReply.AgentData.AgentID = AgentId; 1464 mapReply.AgentData.AgentID = AgentId;
1465 mapReply.Data = new MapBlockReplyPacket.DataBlock[mapBlocks2.Length]; 1465 mapReply.Data = new MapBlockReplyPacket.DataBlock[mapBlocks2.Length];
1466 mapReply.Size = new MapBlockReplyPacket.SizeBlock[mapBlocks2.Length];
1466 mapReply.AgentData.Flags = flag; 1467 mapReply.AgentData.Flags = flag;
1467 1468
1468 for (int i = 0; i < mapBlocks2.Length; i++) 1469 for (int i = 0; i < mapBlocks2.Length; i++)
@@ -1477,6 +1478,11 @@ namespace OpenSim.Region.ClientStack.LindenUDP
1477 mapReply.Data[i].RegionFlags = mapBlocks2[i].RegionFlags; 1478 mapReply.Data[i].RegionFlags = mapBlocks2[i].RegionFlags;
1478 mapReply.Data[i].Access = mapBlocks2[i].Access; 1479 mapReply.Data[i].Access = mapBlocks2[i].Access;
1479 mapReply.Data[i].Agents = mapBlocks2[i].Agents; 1480 mapReply.Data[i].Agents = mapBlocks2[i].Agents;
1481
1482 // TODO: hookup varregion sim size here
1483 mapReply.Size[i] = new MapBlockReplyPacket.SizeBlock();
1484 mapReply.Size[i].SizeX = 256;
1485 mapReply.Size[i].SizeY = 256;
1480 } 1486 }
1481 OutPacket(mapReply, ThrottleOutPacketType.Land); 1487 OutPacket(mapReply, ThrottleOutPacketType.Land);
1482 } 1488 }