diff options
author | Melanie Thielker | 2010-06-13 22:23:07 +0200 |
---|---|---|
committer | Melanie Thielker | 2010-06-13 22:23:07 +0200 |
commit | 3d319d6c3ff2bded0f4b6c730f227a490dd2fb2e (patch) | |
tree | bf8256cb4f64be9031183736d36d0447a5c0ce0b /OpenSim/Region/Framework/Scenes | |
parent | Introduce SOP.UpdateSitters() to update sitting avatars' chat position if (diff) | |
download | opensim-SC_OLD-3d319d6c3ff2bded0f4b6c730f227a490dd2fb2e.zip opensim-SC_OLD-3d319d6c3ff2bded0f4b6c730f227a490dd2fb2e.tar.gz opensim-SC_OLD-3d319d6c3ff2bded0f4b6c730f227a490dd2fb2e.tar.bz2 opensim-SC_OLD-3d319d6c3ff2bded0f4b6c730f227a490dd2fb2e.tar.xz |
Actually update the SP. EXPERIMENTAL
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-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 705e0a3..a83119e 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |||
@@ -4726,7 +4726,13 @@ namespace OpenSim.Region.Framework.Scenes | |||
4726 | if (m_sitTargetAvatar != UUID.Zero) | 4726 | if (m_sitTargetAvatar != UUID.Zero) |
4727 | return; | 4727 | return; |
4728 | 4728 | ||
4729 | ScenePresence p = m_parentGroup.Scene.GetScenePresence(m_sitTargetAvatar); | ||
4730 | if (p == null) | ||
4731 | return; | ||
4732 | |||
4729 | // Update sitting avatar chat position | 4733 | // Update sitting avatar chat position |
4734 | |||
4735 | p.AbsolutePosition = AbsolutePosition; | ||
4730 | } | 4736 | } |
4731 | } | 4737 | } |
4732 | } | 4738 | } |