diff options
author | UbitUmarov | 2018-11-19 14:07:48 +0000 |
---|---|---|
committer | UbitUmarov | 2018-11-19 14:07:48 +0000 |
commit | c4a0e574c80e2df8db6f993b74c19db04ac841aa (patch) | |
tree | f9480528f20d09dc62eb2572ba51c865d2e34b64 | |
parent | a few changes to README.md (diff) | |
download | opensim-SC-c4a0e574c80e2df8db6f993b74c19db04ac841aa.zip opensim-SC-c4a0e574c80e2df8db6f993b74c19db04ac841aa.tar.gz opensim-SC-c4a0e574c80e2df8db6f993b74c19db04ac841aa.tar.bz2 opensim-SC-c4a0e574c80e2df8db6f993b74c19db04ac841aa.tar.xz |
mantis 8410: llwhisper, llSay and llShout emit from the source prim not root
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index f103de2..8987a8d 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -1194,7 +1194,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
1194 | text = text.Substring(0, 1023); | 1194 | text = text.Substring(0, 1023); |
1195 | 1195 | ||
1196 | World.SimChat(Utils.StringToBytes(text), | 1196 | World.SimChat(Utils.StringToBytes(text), |
1197 | ChatTypeEnum.Whisper, channelID, m_host.ParentGroup.RootPart.AbsolutePosition, m_host.Name, m_host.UUID, false); | 1197 | ChatTypeEnum.Whisper, channelID, m_host.AbsolutePosition, m_host.Name, m_host.UUID, false); |
1198 | 1198 | ||
1199 | IWorldComm wComm = m_ScriptEngine.World.RequestModuleInterface<IWorldComm>(); | 1199 | IWorldComm wComm = m_ScriptEngine.World.RequestModuleInterface<IWorldComm>(); |
1200 | if (wComm != null) | 1200 | if (wComm != null) |
@@ -1234,7 +1234,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
1234 | text = text.Substring(0, 1023); | 1234 | text = text.Substring(0, 1023); |
1235 | 1235 | ||
1236 | World.SimChat(Utils.StringToBytes(text), | 1236 | World.SimChat(Utils.StringToBytes(text), |
1237 | ChatTypeEnum.Say, channelID, m_host.ParentGroup.RootPart.AbsolutePosition, m_host.Name, m_host.UUID, false); | 1237 | ChatTypeEnum.Say, channelID, m_host.AbsolutePosition, m_host.Name, m_host.UUID, false); |
1238 | 1238 | ||
1239 | IWorldComm wComm = m_ScriptEngine.World.RequestModuleInterface<IWorldComm>(); | 1239 | IWorldComm wComm = m_ScriptEngine.World.RequestModuleInterface<IWorldComm>(); |
1240 | if (wComm != null) | 1240 | if (wComm != null) |
@@ -1257,7 +1257,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
1257 | text = text.Substring(0, 1023); | 1257 | text = text.Substring(0, 1023); |
1258 | 1258 | ||
1259 | World.SimChat(Utils.StringToBytes(text), | 1259 | World.SimChat(Utils.StringToBytes(text), |
1260 | ChatTypeEnum.Shout, channelID, m_host.ParentGroup.RootPart.AbsolutePosition, m_host.Name, m_host.UUID, true); | 1260 | ChatTypeEnum.Shout, channelID, m_host.AbsolutePosition, m_host.Name, m_host.UUID, true); |
1261 | 1261 | ||
1262 | IWorldComm wComm = m_ScriptEngine.World.RequestModuleInterface<IWorldComm>(); | 1262 | IWorldComm wComm = m_ScriptEngine.World.RequestModuleInterface<IWorldComm>(); |
1263 | if (wComm != null) | 1263 | if (wComm != null) |