Fix recent regression with llRegionSayTo() started sending messages twice.
Addresses http://opensimulator.org/mantis/view.php?id=7330 Fixed by removing chat delivery to avatar from WorldCommModule.DeliverMessageTo(), in common with existing similar methods that only handle deliver to script listeners. Preserves fixes from http://opensimulator.org/mantis/view.php?id=5005mb-throttle-test
parent
36a1f1c70c
commit
31c8b7fd1a
|
@ -379,15 +379,9 @@ namespace OpenSim.Region.CoreModules.Scripting.WorldComm
|
|||
if (sp.IsChildAgent)
|
||||
return;
|
||||
|
||||
// Send message to the avatar.
|
||||
// Channel zero only goes to the avatar
|
||||
// non zero channel messages only go to the attachments
|
||||
if (channel == 0)
|
||||
{
|
||||
m_scene.SimChatToAgent(target, Utils.StringToBytes(msg),
|
||||
pos, name, id, false);
|
||||
}
|
||||
else
|
||||
// non zero channel messages only go to the attachments of the avatar.
|
||||
if (channel != 0)
|
||||
{
|
||||
List<SceneObjectGroup> attachments = sp.GetAttachments();
|
||||
if (attachments.Count == 0)
|
||||
|
|
Loading…
Reference in New Issue