diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index d041d8b..5ed7b67 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -1529,6 +1529,15 @@ namespace OpenSim.Region.Framework.Scenes | |||
1529 | 1529 | ||
1530 | } | 1530 | } |
1531 | 1531 | ||
1532 | // XXX: If we force an update here, then multiple attachments do appear correctly on a destination region | ||
1533 | // If we do it a little bit earlier (e.g. when converting the child to a root agent) then this does not work. | ||
1534 | // This may be due to viewer code or it may be something we're not doing properly simulator side. | ||
1535 | lock (m_attachments) | ||
1536 | { | ||
1537 | foreach (SceneObjectGroup sog in m_attachments) | ||
1538 | sog.ScheduleGroupForFullUpdate(); | ||
1539 | } | ||
1540 | |||
1532 | // m_log.DebugFormat( | 1541 | // m_log.DebugFormat( |
1533 | // "[SCENE PRESENCE]: Completing movement of {0} into region {1} took {2}ms", | 1542 | // "[SCENE PRESENCE]: Completing movement of {0} into region {1} took {2}ms", |
1534 | // client.Name, Scene.RegionInfo.RegionName, (DateTime.Now - startTime).Milliseconds); | 1543 | // client.Name, Scene.RegionInfo.RegionName, (DateTime.Now - startTime).Milliseconds); |