diff options
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/CoreModules/World/Land/LandChannel.cs | 4 | ||||
-rw-r--r-- | OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs | 5 | ||||
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 9 |
3 files changed, 10 insertions, 8 deletions
diff --git a/OpenSim/Region/CoreModules/World/Land/LandChannel.cs b/OpenSim/Region/CoreModules/World/Land/LandChannel.cs index 993b782..eaa5292 100644 --- a/OpenSim/Region/CoreModules/World/Land/LandChannel.cs +++ b/OpenSim/Region/CoreModules/World/Land/LandChannel.cs | |||
@@ -247,11 +247,11 @@ namespace OpenSim.Region.CoreModules.World.Land | |||
247 | m_landManagementModule.setParcelOtherCleanTime(remoteClient, localID, otherCleanTime); | 247 | m_landManagementModule.setParcelOtherCleanTime(remoteClient, localID, otherCleanTime); |
248 | } | 248 | } |
249 | } | 249 | } |
250 | public void sendClientInitialLandInfo(IClientAPI remoteClient) | 250 | public void sendClientInitialLandInfo(IClientAPI remoteClient, bool overlay = true) |
251 | { | 251 | { |
252 | if (m_landManagementModule != null) | 252 | if (m_landManagementModule != null) |
253 | { | 253 | { |
254 | m_landManagementModule.sendClientInitialLandInfo(remoteClient); | 254 | m_landManagementModule.sendClientInitialLandInfo(remoteClient, overlay); |
255 | } | 255 | } |
256 | } | 256 | } |
257 | #endregion | 257 | #endregion |
diff --git a/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs b/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs index d693d21..c7b45ef 100644 --- a/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs +++ b/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs | |||
@@ -491,7 +491,7 @@ namespace OpenSim.Region.CoreModules.World.Land | |||
491 | return; | 491 | return; |
492 | } | 492 | } |
493 | 493 | ||
494 | public void sendClientInitialLandInfo(IClientAPI remoteClient) | 494 | public void sendClientInitialLandInfo(IClientAPI remoteClient, bool overlay = true) |
495 | { | 495 | { |
496 | ScenePresence avatar; | 496 | ScenePresence avatar; |
497 | 497 | ||
@@ -507,7 +507,8 @@ namespace OpenSim.Region.CoreModules.World.Land | |||
507 | avatar.currentParcelUUID = over.LandData.GlobalID; | 507 | avatar.currentParcelUUID = over.LandData.GlobalID; |
508 | over.SendLandUpdateToClient(avatar.ControllingClient); | 508 | over.SendLandUpdateToClient(avatar.ControllingClient); |
509 | } | 509 | } |
510 | SendParcelOverlay(remoteClient); | 510 | if(overlay) |
511 | SendParcelOverlay(remoteClient); | ||
511 | } | 512 | } |
512 | 513 | ||
513 | public void SendLandUpdate(ScenePresence avatar, ILandObject over) | 514 | public void SendLandUpdate(ScenePresence avatar, ILandObject over) |
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index e663055..a67d701 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -2244,11 +2244,12 @@ namespace OpenSim.Region.Framework.Scenes | |||
2244 | // start sending terrain patchs | 2244 | // start sending terrain patchs |
2245 | if (!gotCrossUpdate) | 2245 | if (!gotCrossUpdate) |
2246 | Scene.SendLayerData(ControllingClient); | 2246 | Scene.SendLayerData(ControllingClient); |
2247 | |||
2248 | // send initial land overlay and parcel | ||
2249 | ILandChannel landch = m_scene.LandChannel; | ||
2250 | if (landch != null) | ||
2251 | landch.sendClientInitialLandInfo(client, !gotCrossUpdate); | ||
2247 | } | 2252 | } |
2248 | // send initial land overlay and parcel | ||
2249 | ILandChannel landch = m_scene.LandChannel; | ||
2250 | if (landch != null) | ||
2251 | landch.sendClientInitialLandInfo(client); | ||
2252 | 2253 | ||
2253 | if (!IsChildAgent) | 2254 | if (!IsChildAgent) |
2254 | { | 2255 | { |