aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-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 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}