fix musicURL change being sent back with wrong snap_selection, and not

sent to other avatars.
avinationmerge
UbitUmarov 2014-09-30 03:31:04 +01:00
parent 2af7205813
commit f117a86c87
1 changed files with 20 additions and 22 deletions

View File

@ -1200,10 +1200,8 @@ namespace OpenSim.Region.CoreModules.World.Land
{ {
//the proprieties to who changed them //the proprieties to who changed them
land.SendLandProperties(0, true, LandChannel.LAND_RESULT_SINGLE, remote_client); land.SendLandProperties(0, false, LandChannel.LAND_RESULT_SINGLE, remote_client);
if (needOverlay)
{
UUID parcelID = land.LandData.GlobalID; UUID parcelID = land.LandData.GlobalID;
m_scene.ForEachScenePresence(delegate(ScenePresence avatar) m_scene.ForEachScenePresence(delegate(ScenePresence avatar)
{ {
@ -1211,6 +1209,7 @@ namespace OpenSim.Region.CoreModules.World.Land
return; return;
IClientAPI client = avatar.ControllingClient; IClientAPI client = avatar.ControllingClient;
if (needOverlay)
SendParcelOverlay(client); SendParcelOverlay(client);
if (avatar.IsChildAgent) if (avatar.IsChildAgent)
@ -1227,7 +1226,6 @@ namespace OpenSim.Region.CoreModules.World.Land
}); });
} }
} }
}
public void ClientOnParcelPropertiesUpdateRequest(LandUpdateArgs args, int localID, IClientAPI remote_client) public void ClientOnParcelPropertiesUpdateRequest(LandUpdateArgs args, int localID, IClientAPI remote_client)
{ {