diff options
author | Tom Grimshaw | 2010-06-20 14:45:04 -0700 |
---|---|---|
committer | Tom Grimshaw | 2010-06-20 14:45:04 -0700 |
commit | a1416612a9f9e0d5cbe1c1f02d313e9be020226d (patch) | |
tree | 70eb2e6e52a0ae6ed9ae448b30187a67d83df467 /OpenSim/Region/Framework | |
parent | Allow moving an avatar as part of a linkset using llSetLinkPrimitiveParams. T... (diff) | |
download | opensim-SC-a1416612a9f9e0d5cbe1c1f02d313e9be020226d.zip opensim-SC-a1416612a9f9e0d5cbe1c1f02d313e9be020226d.tar.gz opensim-SC-a1416612a9f9e0d5cbe1c1f02d313e9be020226d.tar.bz2 opensim-SC-a1416612a9f9e0d5cbe1c1f02d313e9be020226d.tar.xz |
Update all clients sitting on a linkset if a child prim is moved. This prevents avatars being "lost in the void" until they stand up when a child prim is moved that they're sitting on.
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs index b80a557..78faa01 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |||
@@ -711,6 +711,12 @@ namespace OpenSim.Region.Framework.Scenes | |||
711 | // Tell the physics engines that this prim changed. | 711 | // Tell the physics engines that this prim changed. |
712 | m_parentGroup.Scene.PhysicsScene.AddPhysicsActorTaint(actor); | 712 | m_parentGroup.Scene.PhysicsScene.AddPhysicsActorTaint(actor); |
713 | } | 713 | } |
714 | |||
715 | List<ScenePresence> avs = ParentGroup.GetLinkedAvatars(); | ||
716 | foreach (ScenePresence av in avs) | ||
717 | { | ||
718 | av.SendFullUpdateToAllClients(); | ||
719 | } | ||
714 | } | 720 | } |
715 | } | 721 | } |
716 | } | 722 | } |