aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Region/CoreModules/Scripting/WorldComm/WorldCommModule.cs7
1 files changed, 5 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/Scripting/WorldComm/WorldCommModule.cs b/OpenSim/Region/CoreModules/Scripting/WorldComm/WorldCommModule.cs
index e314730..e1c0cd7 100644
--- a/OpenSim/Region/CoreModules/Scripting/WorldComm/WorldCommModule.cs
+++ b/OpenSim/Region/CoreModules/Scripting/WorldComm/WorldCommModule.cs
@@ -403,10 +403,13 @@ namespace OpenSim.Region.CoreModules.Scripting.WorldComm
403 foreach (SceneObjectGroup sog in attachments) 403 foreach (SceneObjectGroup sog in attachments)
404 { 404 {
405 if (!sog.IsDeleted) 405 if (!sog.IsDeleted)
406 targets.Add(sog.UUID); 406 {
407 SceneObjectPart[] parts = sog.Parts;
408 foreach(SceneObjectPart p in parts)
409 targets.Add(p.UUID);
410 }
407 } 411 }
408 412
409 // Need to check each attachment
410 foreach (ListenerInfo li in m_listenerManager.GetListeners(UUID.Zero, channel, name, id, msg)) 413 foreach (ListenerInfo li in m_listenerManager.GetListeners(UUID.Zero, channel, name, id, msg))
411 { 414 {
412 UUID liHostID = li.GetHostID(); 415 UUID liHostID = li.GetHostID();