aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorTom Grimshaw2010-06-20 14:45:04 -0700
committerTom Grimshaw2010-06-20 14:45:04 -0700
commita1416612a9f9e0d5cbe1c1f02d313e9be020226d (patch)
tree70eb2e6e52a0ae6ed9ae448b30187a67d83df467
parentAllow moving an avatar as part of a linkset using llSetLinkPrimitiveParams. T... (diff)
downloadopensim-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.
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectPart.cs6
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 }