stop chat being sent to child avs again.
parent
498820a74f
commit
0d26e271c9
|
@ -352,9 +352,8 @@ namespace OpenSim.Region.CoreModules.Avatar.Chat
|
||||||
UUID fromAgentID, string fromName, ChatTypeEnum type,
|
UUID fromAgentID, string fromName, ChatTypeEnum type,
|
||||||
string message, ChatSourceType src)
|
string message, ChatSourceType src)
|
||||||
{
|
{
|
||||||
// don't send llRegionSay to child agents. Send normal chat because you
|
// don't send chat to child agents
|
||||||
// can't talk across sim borders if it's not done
|
if (presence.IsChildAgent) return false;
|
||||||
if (type == ChatTypeEnum.Broadcast && presence.IsChildAgent) return false;
|
|
||||||
|
|
||||||
Vector3 fromRegionPos = fromPos + regionPos;
|
Vector3 fromRegionPos = fromPos + regionPos;
|
||||||
Vector3 toRegionPos = presence.AbsolutePosition +
|
Vector3 toRegionPos = presence.AbsolutePosition +
|
||||||
|
|
Loading…
Reference in New Issue