do not send parceloverlay on crossings (may be bad, or not)
parent
1c6be0fae3
commit
182977a872
|
@ -98,6 +98,6 @@ namespace OpenSim.Region.Framework.Interfaces
|
||||||
|
|
||||||
void Join(int start_x, int start_y, int end_x, int end_y, UUID attempting_user_id);
|
void Join(int start_x, int start_y, int end_x, int end_y, UUID attempting_user_id);
|
||||||
void Subdivide(int start_x, int start_y, int end_x, int end_y, UUID attempting_user_id);
|
void Subdivide(int start_x, int start_y, int end_x, int end_y, UUID attempting_user_id);
|
||||||
void sendClientInitialLandInfo(IClientAPI remoteClient);
|
void sendClientInitialLandInfo(IClientAPI remoteClient, bool overlay = true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -247,11 +247,11 @@ namespace OpenSim.Region.CoreModules.World.Land
|
||||||
m_landManagementModule.setParcelOtherCleanTime(remoteClient, localID, otherCleanTime);
|
m_landManagementModule.setParcelOtherCleanTime(remoteClient, localID, otherCleanTime);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
public void sendClientInitialLandInfo(IClientAPI remoteClient)
|
public void sendClientInitialLandInfo(IClientAPI remoteClient, bool overlay = true)
|
||||||
{
|
{
|
||||||
if (m_landManagementModule != null)
|
if (m_landManagementModule != null)
|
||||||
{
|
{
|
||||||
m_landManagementModule.sendClientInitialLandInfo(remoteClient);
|
m_landManagementModule.sendClientInitialLandInfo(remoteClient, overlay);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|
|
@ -491,7 +491,7 @@ namespace OpenSim.Region.CoreModules.World.Land
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void sendClientInitialLandInfo(IClientAPI remoteClient)
|
public void sendClientInitialLandInfo(IClientAPI remoteClient, bool overlay = true)
|
||||||
{
|
{
|
||||||
ScenePresence avatar;
|
ScenePresence avatar;
|
||||||
|
|
||||||
|
@ -507,7 +507,8 @@ namespace OpenSim.Region.CoreModules.World.Land
|
||||||
avatar.currentParcelUUID = over.LandData.GlobalID;
|
avatar.currentParcelUUID = over.LandData.GlobalID;
|
||||||
over.SendLandUpdateToClient(avatar.ControllingClient);
|
over.SendLandUpdateToClient(avatar.ControllingClient);
|
||||||
}
|
}
|
||||||
SendParcelOverlay(remoteClient);
|
if(overlay)
|
||||||
|
SendParcelOverlay(remoteClient);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void SendLandUpdate(ScenePresence avatar, ILandObject over)
|
public void SendLandUpdate(ScenePresence avatar, ILandObject over)
|
||||||
|
|
|
@ -2244,11 +2244,12 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
// start sending terrain patchs
|
// start sending terrain patchs
|
||||||
if (!gotCrossUpdate)
|
if (!gotCrossUpdate)
|
||||||
Scene.SendLayerData(ControllingClient);
|
Scene.SendLayerData(ControllingClient);
|
||||||
|
|
||||||
|
// send initial land overlay and parcel
|
||||||
|
ILandChannel landch = m_scene.LandChannel;
|
||||||
|
if (landch != null)
|
||||||
|
landch.sendClientInitialLandInfo(client, !gotCrossUpdate);
|
||||||
}
|
}
|
||||||
// send initial land overlay and parcel
|
|
||||||
ILandChannel landch = m_scene.LandChannel;
|
|
||||||
if (landch != null)
|
|
||||||
landch.sendClientInitialLandInfo(client);
|
|
||||||
|
|
||||||
if (!IsChildAgent)
|
if (!IsChildAgent)
|
||||||
{
|
{
|
||||||
|
|
|
@ -119,6 +119,6 @@ namespace OpenSim.Tests.Common
|
||||||
|
|
||||||
public void Join(int start_x, int start_y, int end_x, int end_y, UUID attempting_user_id) {}
|
public void Join(int start_x, int start_y, int end_x, int end_y, UUID attempting_user_id) {}
|
||||||
public void Subdivide(int start_x, int start_y, int end_x, int end_y, UUID attempting_user_id) {}
|
public void Subdivide(int start_x, int start_y, int end_x, int end_y, UUID attempting_user_id) {}
|
||||||
public void sendClientInitialLandInfo(IClientAPI remoteClient) { }
|
public void sendClientInitialLandInfo(IClientAPI remoteClient, bool overlay = true) { }
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue