reduce 'echos' on several regions per instance (mantis 7754)

LSLKeyTest
UbitUmarov 2015-11-24 12:51:58 +00:00
parent 19b96697a6
commit 7cf2d261b3
1 changed files with 2 additions and 1 deletions

View File

@ -294,7 +294,8 @@ namespace OpenSim.Region.CoreModules.Avatar.Chat
s.ForEachScenePresence( s.ForEachScenePresence(
delegate(ScenePresence presence) delegate(ScenePresence presence)
{ {
if (destination != UUID.Zero && presence.UUID != destination) if (destination != UUID.Zero &&
(presence.UUID != destination || receiverIDs.Contains(presence.UUID)))
return; return;
ILandObject Presencecheck = s.LandChannel.GetLandObject(presence.AbsolutePosition.X, presence.AbsolutePosition.Y); ILandObject Presencecheck = s.LandChannel.GetLandObject(presence.AbsolutePosition.X, presence.AbsolutePosition.Y);
if (Presencecheck != null) if (Presencecheck != null)