mantis 8027: allow messages to be sent to attachments child prims in llRegionSayTo

This commit is contained in:
UbitUmarov
2016-09-22 02:05:25 +01:00
parent bf17da3d61
commit bbe8ef0528

View File

@@ -403,10 +403,13 @@ namespace OpenSim.Region.CoreModules.Scripting.WorldComm
foreach (SceneObjectGroup sog in attachments)
{
if (!sog.IsDeleted)
targets.Add(sog.UUID);
{
SceneObjectPart[] parts = sog.Parts;
foreach(SceneObjectPart p in parts)
targets.Add(p.UUID);
}
}
// Need to check each attachment
foreach (ListenerInfo li in m_listenerManager.GetListeners(UUID.Zero, channel, name, id, msg))
{
UUID liHostID = li.GetHostID();